skysight-inc/HackerNews huggingface dataset:
Stripe doesn't bill the end-user these fees. In many US states, it would be illegal to do such as well.
I'm reminded how, last year, at work, they changed the length limits on performance reviews from characters to words. They found that character limits resulted in men having more room to express themselves than women -- "she" is longer than "he"; "girl" is longer than "guy", and "female" is longer than "male".

Twitter also has interesting per-country dynamics because it uses a character limit. In Chinese or Japanese, 140 characters can express more words than in English.
Think about how much a gorilla has in common with a human. We’re close, but only one species is in a zoo.

Every human gets smarter as our tools like AI get better.
Optimization-Driven Incremental Inline Substitution Algorithm for JIT Compilers
I wonder if a similar proportion of drugs that work in Humans wouldn't work in mice. Are we missing out on a ton of potential?
This was one of the motivators described in the original Bitcoin white paper
How to Create a Sketch Style Guide, Library, and UI Kit
Epic :D
From the article:

For an English spam classifier that
considers all the words in the English
language, the number of the words (n)
is approximately 171,476.

That's a remarkably precise number to be preceded by the word "approximately".
In reality though, most UX designers will just try to transform an interface that people have been using for 30 years into a phone interface, and then smugly dismiss any criticism.

"You'll get used to it"

"It's the latest trend, you have to do it."
The Clipper Card system _must_ fall into this category. I recently called because I was certain my card was being fraudulently used--the value would dip $5-10 for a single ride, and there were top-up credit card transactions that didn't correspond even remotely to my credit card statement.

Turns out SF Muni and Clipper Card (and possibly Clipper Card's billing vendor?) are two/three completely independent organizations. Everything is passed between them in batches with up to a several-month delay, with batches often arriving out of order. This makes auditing nearly impossible and is what made me think something sketchy was happening. It's a miracle it works at all.
"these third party libraries are using, like reliance on iterator protocol, descriptor protocol, metaclasses, context managers, Python data model special methods, dynamic attribute lookups, etc.,"

Julia can Jit code that relies on vastly improved versions of all those features (minus some setatr etc).

Can you use them on a custom array type in any case let alone scipy? No. and that's the point. In julia, the optim package for example takes in abstract arrays with all those features. Mathematical assumptions are categorically different than unavailable or slow PL semantics.

Julia preserves full general programming language semantics including zero cost abstractions, higher order functions, closures, zero cost differentiation and extending custom types, while still being fast enough for numerical computing (minus exceptions).

It seems to be that Python is sticking with 1d figures and that's assuming your monkey patch idea works, also ignoring the ecosystem cost and the fact that monkeypatching in Julia is part of normal code design (through multimethods) whereas in python it's a code smell.

I think you are really grasping at straws here.
I did 12 days (300 hours) on water, drinking Snake Juice off and on and seem to be fine. I lost about 15 lbs during that fast and regained about 5-6 lbs afterwards. I did notice my skin was a lot healthier and I felt my mind was much stronger, everyone said I looked younger. I didn't suffer any type of medical problems afterwards and continue to fast at least once a month for 2-4 days on just water and a daily 18/6 IF. I rarely get sick anymore (colds, sore throats, etc). My weight has come down to a healthy level (lost 70+lbs over the last 1.5 years).

You just have to get over the fear of not eating and understand that missing a few meals or not eating for a few days can make you feel better. It's sort of the same as quitting smoking, you free yourself from destructive living.
Definitely nice for learners to have an interpreter!
I wonder if it's not so much analytical thinking as opposed to just going out and doing something. Several forms of depression are exacerbated by ruminative thinking [1]. I'm not sure many depressed people would be able to successfully navigate the steps involved for analytical thinking without falling back into rumination.

Rather than attempting analytical thinking first, I think it'd be much easier to initiate a simple activity, walk around the block, see a happy movie, visit a bookstore. Once one gets out of this cycle of ruminative thinking can one have the wherewithal to begin analytical thinking.

[1] https://psychcentral.com/blog/why-ruminating-is-unhealthy-an...
> It's an American homegrown problem with too much focus on capitalism.

Capitalism does not preclude charity.

It could be argued that it precludes state-funded social programs, but the US has a very large number of those already, so it follows that Capitalism (as implemented here) is not the cause of this problem.

Regardless of what I or anyone else thinks about the necessity and morality of those programs, they do exist, and they are ineffective. The question is "Why are the ineffective?"
Research and drug development are pretty different leagues. A research paper might be 3 researchers with 20 mice. When your looking at preclinical trials it’s more like 300 people and 5000 mice per trial and god knows how many trials before something goes through.

The reproducibility crisis is happening in academia. There isn’t that much room for uncertainty when it comes to industrial drug development. You won’t find drugs making it all the way to market only for “another group” to be incapable of reproducing the effect.
It's nice to see a balanced, real world, case study including 'these things are fixed by Rust', 'these are problems that don't occur in idiomatic Rust', and 'these are problems that Rust can't help you with'.

I'm a big fan of Rust, but the one sided 'Rust makes all the problems go away' articles don't provide any value.
I work in the federal government and the performance of the tech is abysmal. If all of the ridiculously talented developers in SV who are using algorithms to capture our attention via psychological hooks, instead used their talents to improve our government tech infrastructure, the world would be a far better place.
I'm not sure that is true. For example I can tell you are "smarter than a four-year-old", even though we can't rigorously define what that means.

I would even go as far as saying that the fact that we can't rigorously define what "smarter than a four-year-old" means is a limitation of the current intelligence or knowledge of Humans. Part of the trajectory of machine intelligence is independent of our own knowledge, for example through hardware improvements. They could get past our level before we can understand it ourselves.
Green screen!!!
Using Elm to generate The Witness-esque maze panels
Will a submarine ever be a better swimmer than Michael Phelps?

Not only do each have their pros and cons when traversing water, but I'm not sure if a submarine swims anyway.

I think it's more than just semantics. And I think we're not close to such a submarine or such a computer because we've been doing other things with both mostly.
If Knowledge Was Power (2016)
I haven't written any Rust in a few years, but last I knew, it was very possible for a Rust program to crash. The guarantee is that it won't corrupt memory while doing so.
> True, but I feel I would still feel shame

Please keep your shame to yourself. Your other comments in this thread sound like you're trying to invoke your shame upon others for declaring bankruptcy.

If your intention was consistently "I would still feel shame" rather than "You should feel shame", that's fine, but please make that clearer.
That got to me brainstorming what someone might do if they were trying to write a modern line editor, targeting developers writing in... maybe not Java, but perhaps Go.

It doesn't seem like anyone has tried to build anything like that before. Most recent seems to be Rob Pike's sam from the 1980s, which (at one time in the 2000s at least) was the professed favored programming tool by Brian Kernighan and Bjarne Stroustrup.
can experience people share some more.
Generally speaking submissions should just match the <title> of the page... so if you want, write a blog post about it, then submit the blog post?
It's a government expenditure, so the market signals of profit and loss cannot work to keep costs under control. Classic monopoly pricing at play.

The outrageous prices could also be attributed to good old-fashioned cronyism: some city council member's brother owns a local civil engineering firm that gets a 10-year contract and names its own price.
The question is really whether an AI will ever be able to process all the sensory data that a 4-year-old has (including time in the womb), plus the input from epigenetic data resulting from the parent's environment. Plus data from the particular gut flora inherited from the mother and influenced by the environment.

We can see no roadblock preventing advances from getting to that point. But the volume of data is admittedly beyond our ability to currently accurately even quantify much less record or process.
They mean the risk is higher quantitatively because the money you're giving up from Google, etc. is higher than average for a software engineer. OTOH, nothing about the reward changes depending on what other places you could be working at.
My point exactly, and furthermore, the whole UI looks very cumbersome. You still have to understand the software underneath in order to actually build the application itself.
In one case I've heard around the water cooler; A city's intersections were(are?) rocking Sun SPARC servers to do all the control stuff. Yes, each intersection apparently had its own.

I don't know if I ever really believed it until this article confirmed that kind of cost.
I am sure the author is a power user of his tools. I tried to use Vim for more than a simple text editor for few days. I realised that it would very hard to replicate the productivity of a special purpose IDE(IntelliJ in my case) using Vim.
tmux is great but if you are used to multiple windows or tabs that is fine as well.
Uber Drivers discuss giving 1-star ratings to passengers who don't tip
That's exactly the mentality that keeps wives' tales circulating.

How often do home remedies "work" because of placebo and/or simply time?
I kind of wish this article was deeper on what benefits the OP was seeing from the plugins or what have you. I just was left hoping for something more from something that claimed to be a 'guide to the terminal' which usually is much more in depth to a particular workflow and you can usually glean one or two things you can add for yourself.

I'm from emacs land, and so generally using terminal over the emacs+GTK has a lot of limitations (ex: can't display or embed images, no drag and drop, copy and paste usually integrates better with the rest of the applications you are using when selecting regions of textual data). On top of that emacs comes with tiling for free where normally you would have to tmux+vim.
This is not a bad explanation but when doing this practically it can be useful to take log() of the probabilities so that you work with sums of logs rather than multiplying small floats.

http://getpopfile.org/docs/faq:bayesandlogs
Those actually look significantly better to me than the ones I regularly see in the US, with several "armrests" placed on a traditional bench in an attempt to prevent someone from using it as a place to sleep.
When the question is literally 'ever', the only thing that matters is the relative rate of improvement. Do computers get better at "learning" faster than young kids, e.g. comparing kids 20 years ago and now with computers 20 years ago and now? It seems to me that computers got a lot better while child development remained essentially the same. Unless that will change, given time—infinity should be enough—eventually computers will be "smarter".
Necessity is the mother of invention and memory/resource scarcity is the mother of quality code

A lot of junk and spaghetti code gets written (or copied/pasted together) today because there are few hardware-based constraints in much of modern app and system dev

I work with a lot of embedded engineers and have the utmost respect for those that work on safety-critical, legacy systems
Upgrading traffic systems will help with self-driving cars. It's one of the missing puzzle pieces. Think of what modern cameras and data storage, would do for innovative change.
That's some awful cheap people.
Is the name coming from this place in Greece?
https://goo.gl/maps/mvMYQwErCXk
Dude, you had some unfortunate life events piled on top of each other causing turmoil. I sincerely don't wish that to happen to anyone and I congratulate you on feeling better, but..

I want to point out that your episode is not to be compared with actual sustained major depression, which will _eat you alive_. So utterly and completely will your soul be crushed that taking your own life will feel redundant, unnecessary. You have literally no idea of how deep this rabbit hole goes, thank god, but your advice trivialises the depth of depression and I have to wonder how this got so high on HN.. This is a blog with one post, one.
If anyone wants to know whether you need a miniature record player for these, a Google image search gives a better idea of scale:

https://www.google.co.uk/search?q=bhutan+record+stamps
I would be more concerned about platform censorship with both of them.
Ada programmers: Vinzent Höfler – interview
I have one phrase to add to this discussion - "sustainability"[1]. Systems have to be engineered differently with that in mind.

I have real concerns that most of what we are developing in high level languages/systems (with dependency management dependent on external sources) will not last.

[1] https://simple.m.wikipedia.org/wiki/Sustainability
It's faster, which I discovered after switching to it for Javascript/Typescript development. Also has better autocomplete plugins. Vim plugins just don't seem to have taken advantage of the async features yet.
Thailand passes internet security law decried as 'cyber martial law'
^ I also find it culturally interesting that basically every female descriptor I can think of is more characters than the male counterpart.
> emasculating.

I think you've meant this as an insult by insinuating my comment somehow made me "less of a man."

Swing & a miss.

As you can clearly discern from my username, I'm a woman, so I don't much care about your opinion of my "manliness."

Perhaps you should ask yourself why you feel the need to attack someone's "masculinity" when you disagree with something they've said rather than discussing your disagreement on the merits.
This is not true. offsetof is defined in the C standard. See http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf, Section 7.17, point 3 on page 254.

I prefer not to use it due to the loss of type information and the potential for screwups, but you can write ANSI portable C using it.
Not specifically related to the article but related to the theme of the article. I have a web-based dashboard that I created using a ruby gem called Dashing that was created by Shopify but since discontinued. I'd like to use a terminal based dashboard instead. Any suggestions?

I came across WTF but don't know Go or see any documentation about building custom modules.
Devil advocate:

I made so many rewrites that it can be say is most of my job.

My first real project was move a FoxPro DOS app to Visual FoxPro. I probably not read any (old) code at all. The next, move torwards a N-Tier with SQL Server (that was circa 2000). Then move in other company a Fox desktop app to ASP.NET 1.

And that's is only counting my first years.

----

How I could tackle this WITHOUT READING THE OLD CODE?

TALKING TO THE OLD DEVELOPERS!

If is possible for you, let them talk about how the old app work. Even better, let them (or anyone in marketing, support, etc) explain the problems that this app solve, and the new ones this app have failed to solve.

I have the luxury to mostly work with apps with a RDBMS in the back, and rarely fancy (and NASTY) architectures like micro-services. Understanding a RDBMS is orders of magnitude easier than the codebase:

https://quotes.yourdictionary.com/author/fred-brooks/31361

Show me your flowcharts and conceal your tables,
and I shall continue to be mystified.

Show me your tables, and I won’t usually need your flowcharts;
they’ll be obvious.

-- Fred Brooks

So, before get deep in code: MAKE A DATABASE, and PICTURE THE FLOW OF DATA.

Sometimes, is even possible to cut a massive amount of (legacy) code that is the result of a iterative development (under pressure and without planning) that result in a terrible "flow of data". Fix the flow, fix the schemas, and suddenly the code is short and easy!

Also:

Complicated software are infections of a complicated business requirements (ie: company). When something is a pile of mud, NOT FIX THE MUD.

Fix the business requirements until it get easier to handle. This also lead, most of time, to a massive reduction in messy code bases.

Also:

You have applied any of the sensible advice elsewhere. Instead of rewrite, you make testing and all that.

IF YOU FEEL IS STILL TERRIBLE AND YOU KNOW IN YOUR GUT YOU WILL GET STUCK HERE FOR ALL THE ETERNITY

cut that code without mercy. Not push along when you have, proved is a dead end. I made a mistake like this with a rewrite from a iOS App made by a consulting firm and lost 6 months(!!!!) trying to be reasonable.

This cost me the contract? You bet it. However, In the last 2 week I remove almost 60-70%(?) of the code and rewrite it to be more along the Apple guidelines. I still lost the contract but the next team? Finish it in a month.
Old things are typically built to last. Because the cost of redoing them was prohibitively expensive.

If it were shit craftsmanship, it wouldn't still be running.

See:

- Roman architecture

- Browning designed firearms

- Savile row tailoring

- Old ships

- anything your great-grandfather owned
Any time you see something like this. Similar to typescript or es6 transpilers it's a signal something with the original language is off.

Perhaps it's the lack of Generics in golang.
> could have been caught by a run time bounds check

And here I thought rust was all about zero cost abstractions.
It's been a few years but the libraries needed for different OSs changes. The source and imports needed between Linux and Windows differs. Also comes with some other baggage, like I don't recall if Windows offers a Unix socket implementation.
I have suffered from depression and there was a long list of issues that were solved along the way, in hindsight it feels like a step of stairs that had to be climbed, and finally I was out of the negative spiral and felt free of it.
I'm from Argentina, wake up at 6.15 and go to sleep at 22.
They're getting more pixels but those pixels are smaller!
Both major organizations I've worked in have had ridiculously low turn over and everyone I talked to in both had the assumptions of everyone being lifers. I only left the first because I was tired of doing maintenance on old technology and wanted to experience new dev.
Been using Vim for about the same length of time... And the times I have used those emulators they just haven't been the same. Does the emulator support VimScript? Macros? Plugins? async jobs like vim8?

The terminal is my IDE I can open a file with a couple of keystrokes, run bash scripts from inside of my editor and just as easily be back navigating the terminal.

Maybe I'm missing something, but I don't see how intellij improves any of this stuff. I'd rather memorize compose-able bash commands, than intellij keystrokes.
I am not OP and not muslim, but I hold a similar PoV:

The bank is a business, not your friend. In the 2008 crisis, banks (and hotels and many other businesses) had mailed the keys back to lenders when their non-recourse loans were underwater.

As long as one does not fraudulently acquire the credit, and makes a good faith effort to repay it, there is no problem.

It is NOT shameful for the bank to take interest, which takes into account both the lost-time-value-of-money (inflation and opportunity cost) and the probability of default. They are a business, and the interest takes defaulting loans into account.

It is NOT shameful to use bankruptcy if you qualify. It wasn't added to the legal code to give people a "get out of jail free" card - It was added because, done right, it is more helpful to society at large (as well as individuals) to be able to reset debts that cannot be paid.

So these things are as shameful, which is to say, not shameful.
The process itself is demeaning and success carries ten years of lasting, painful consequences. Moral pronouncements of shame and that one is a promise-breaker are superfluous and cruel.
Passable sound quality! https://www.youtube.com/watch?v=dVVhzO2Rst8
It also highlights an example of a security bug introduced during rewriting; highlighting that rewriting any significantly large piece of software is bound to introduce bugs.
> When we build a building, we need frameworks and scaffolds to build it.

This SIAM published Linear Algebra textbook makes a point about the scaffolding, too: http://matrixanalysis.com/Scaffolding.html
Says the company that runs on the Bloomberg Terminal.
Why not just take your configuration with you? I switched machines multiple times and each time it took me just a few minutes to migrate my vim configuration over to the new one.

Especially since I have my vim configuration and other dotfiles in Git. Just git clone and I am done.

Off course that is too much when I am only using a machine temporarily (like servers over ssh), but I can be productive with the default as well. It is just that with my configured vim I am more productive.
Ok, don't try it. :)

Wive's tales and home remedies still circulate because they often work. Of course, you're not going to read that on Hacker News because it's biased by people wearing modern American blinders that don't have the humility, courage, awareness or something else, to just try for themselves. I was that way until I tried psychedelics, meditation, pranayama breathing, lucid dreaming and many other alternative modalities just two years ago.

All love--good luck on your journey!
The stereotype isn't that the code was bad -- it's around the UI. (There are also stereotypes around modern UI being too minimalistic. Obviously these things are not so simple.)

There's also the idea NOT that it was bad when it was written 30 years ago, but that 30 years of patches by people who didn't write the original code mean it's no longer clean code.
CSS Working Group Adds Many Math Functions