skysight-inc/HackerNews huggingface dataset:
It's all about tone.

Everyone remembers being a brash know-nothing teenager, so just by the headline "DESTROYING C" you get that vibe.

I remember having a blog about Haskell circa 2002 where I would smugly enumerate the ways in which Guido van Rossum was wrong. "GUIDO IS WRONG! PART 4" my post titles would say.
You're responding to something I didn't write. You have an obvious great respect for the environment. I do, too.

Mining asteroids and colonizing other planets will do more to destroy Earth's environment than just building nuclear, solar, wind, and hydro, and improving battery technology without leaving this planet.
> I really do hope this kind of developer attitude (writing pure VanillaJS) is coming back.

If it's coming, it's coming for the first time.

Way back in the first decade of this century, when JavaScript was first transitioning from a language you wanted to learn as little of as possible to a language you might actually want to learn, jQuery sprang up as a way to deal with browser incompatibilities. I went to a jQuery conference where people were advised to really learn JavaScript and use it where possible, not always relying on jQuery. I don't think that advice was widely heeded.

React took over from jQuery and has the same problem. People learn the library first and slowly pick up the language, hopefully, as time goes on.
He is comparing apples and oranges and his conclusion can only be characterized as widely misleading and off the mark.

The most generous possible interpretation is to say that he's not being intentionally misleading but actually believes what he writes. I fail to see how that improves matters.
"eBPF is the New Linux"

http://www.brendangregg.com/bpf-performance-tools-book.html
I agree with you that the study was probably biased, but the take on experiment have even more faults than the experiment itself:

,,Problem #1: Personality Matters''

Of course it matters, it's just far not as important as fitness indicators of the other sex. The study was clear that it's about distribution of swipes, which is a prerequisite of even getting to know the personality of eachother.

,,men are very rarely taught how to properly look after their appearance''

I had this problem in my life, but nowdays the internet has all the information easily accessible and for free, and instagram gives people the tools for imitation/experimentation, so taking care of appearence got much easier for men in the last decade.

,,part of every girl's life, 12 and up (and usually sooner than that)''
My niece is 3 years old, and I see her already thinking about her appearance all the time (as opposed to my nephews who just want to play games).

,, It does not surprise me that those with the training (through receiving positive and negative signals on their appearance) are more picky.''

Evolutionary biology shows that it's much much deeper within the sexes than just training. It's a fact that we have twice as many female ancestors than male, and this fact is true in other species as well.
Ah, the weekly "I beat C using X language".

I don't understand why LOC was even brought up. You can put all your code on a single line in most languages. The Github code linked even has 26 lines of Haskell which makes this even more nonsense.
"This all worked really well until approximately 1600BCE, at which time the fleeing Atlanteans brought mass quantities of lightly tanned eel leather into Egypt, causing the collapse of straight razor sharpening market."

I really admire people who can write a story like this off the top of their head.
I'd love to check it out. Do you remember the episode title/consultant's name?

edit: I think it's "The Magic Shoebox" episode
There are diseases hidden in ice and they are waking up
My Take Aways from Starting a Business
Ask HN: How do you enforce coding best practices?
Over the course of my career as a software engineer I've become a bigger and bigger proponent of using automated tooling—linters, static security scanners, tools that check database migrations for safety, etc.—in our CI system to enforce best practices and reduce risk.

But I'm wondering whether these solutions amount to a "local maximum." Is running a handful of checks in CI (and maybe in git commit hooks as well) the best we can do, or are their other approaches that you've used successfully? What do FAAMNG do?
Decades yes, but who said “full time”?
Happy 33rd anniversary of Haskell devs claiming to destroy C.
There’s a lot of good technical and failed opsec discussion in this thread, which people should check out:

https://news.ycombinator.com/item?id=22232737
It feels like a caucus exists to arbitrarily filter out participants based on how long they take. Not everyone has the 2-3 hours to spend on a caucus vote. Why don't they just vote via paper ballot?
Emerging Tech Cities with Big Salaries, Growth
Perhaps Knuth's "The Art of Computer Programming" and Sedgewick's (Knuth's student) "An Introduction to the Analysis of Algorithms".

Also, Ben-Ari's "Mathematical Logic for Computer Science" and Pierce's "Software Foundations".
Sup, author here.

> Does the Haskell version really do the same thing as the C version?

It counts bytes, words and lines and, modulo intended Unicode space handling and unintended bugs, does the same thing.

Indeed, it does not count things like max line length or char count, but those can be plugged in without significant performance overhead (and that's what the second part is gonna be about).

> Does it handle all of the same error cases, providing the same quality of error messages if they occur?

There are no error messages at this point. Although I don't really see how this should affect performance.

> Does it handle localization?

If you mean counting multi-byte characters, then not yet. Although I'm pretty convinced it does not require doing something much more complicated — but maybe I'm wrong, we'll see in the next part.

Also, thanks for the feedback, those are important questions! Something to keep in mind when writing subsequent posts.
Does Iowa have a state law like this as well? I thought only New Hampshire had that law.
I just want to say thank you to everyone who's worked on this. I've been a believer since the crowdfunding campaign, and a user since Oasis came to be (RIP).

While there are some warts, and development has been slow for a while, the project is fundamentally sound and still quite useful.
Evil needs agency, so no, I don't see evil in the absence of something.
I distrust any interview that includes something like this.

It's an arbitrary construct that is not indicative of what form the work will take. Only the first three months of working with someone will give any real indication of what'll be like to work with them for another three+ years.
> We also noticed that the only Asian donor (male) has a much higher ACE2-expressing cell ratio than white and African American donors (2.50% vs. 0.47% of all cells). This might explain the observation that the new Coronavirus pandemic and previous SARS-Cov pandemic are concentrated in the Asian area.

the only Asian donor, n=1. It's too bold to claim that Asian men are the most susceptible group.
Calculate what 2% growth per year means after say 5000 years. What implications this has. It means everything beyond the visible universe has been consumed.

https://en.wikipedia.org/wiki/Wheat_and_chessboard_problem

This problem is weirdly everywhere. Especially in software, this should be understood. We can't have exponential anything, it's just reckless.
Far more forgivable offense in 2012 than 2020 though.
Typed Functional Dependency Injection in Python
It's also bigger than the next four countries combined, so that's not entirely surprising.
DevOps trend is only going up with new tools emerging everyday...
I would assume anything small/light enough to be easily shipped via FedEx could also fit into a reasonably-sized personal vehicle. Renting a one-way van is a fairly straightforward way to move a modest amount of stuff although you do have to plan ahead if you're moving at a busy time.
In the UK, sites like autotrader.co.uk make price transparency crystal clear, even going so far as to prominently advise that an advertised price is great/low/fair/high for the make/model/age/mileage in question. Dealerships now seem to make money on finance - why haggle about a £500 price difference on a £20,000 car when there's £7,000 on the table via a 12% APR finance rate?
Off-topic but tangentially related. There was Reddit post[0] about a clothes dryer's eco mode being a scam since it consumes more power than a regular drying cycle. Here[1] is a single comment thread noting that the user was measuring power output of the entire house. The user quickly changed their tune when this was highlighted.

[0]: https://old.reddit.com/r/dataisbeautiful/comments/eyevca/my_...

[1]: https://old.reddit.com/r/dataisbeautiful/comments/eyevca/my_...
Brendan co-founded mozilla.org. Brendan is not the "creator of Firefox".
How many times each term appears on the page:

women: 13

men: 14

male: 6

female: 6

The language used is equal and every case where "male" or "female" was chosen, it was matched by its inverse in the following statement. Same goes for "men" and "women", I think you're perhaps reading something from the article that isn't there.
I think improving communication skills, particularly technical topics to non-technical people will always be advantageous regardless of where your career takes you in tech.
For the first time in over 50 years, the U.S. has imposed a federal quarantine
My guess is most places would have volunteers out the ying-yang to count ballots.
Why is it a given that this will show up as GDP growth, even accounting for approximation error?

If I make widget X twice as efficiently and buy fewer resources, isn't that a GDP loss? Or is there an assumption that I would make twice as many widgets and purchase the same resources AND be able to sell twice as many?
I love that area. It seems to already have by necessity, a lot of the required public infrastructure.
The last UK leadership election for the Labour Party [0] had a turnout of 500k+, or roughly 1% of the population. I won't bore you with the details of whether it's correct to think of all 500k as "dues-paying members".

That's a lot less than the 30 million or 10% of population [1] who voted in the last Democratic primaries in 2016, but not "nothing like" it. And we could pick other years the turnout was much lower, e.g. 7 million [2] in 2012 where Obama did not have meaningful opposition).

[0] https://en.wikipedia.org/wiki/2016_Labour_Party_leadership_e...

[1] https://en.wikipedia.org/wiki/2016_Democratic_Party_presiden...

[2] https://en.wikipedia.org/wiki/2012_Democratic_Party_presiden...
> Of course, today the mac book pro alone may set you back $5K+!

I run Ableton Live 9 and Logic Pro along with all of my normal software instruments and effects on a 2009 Macbook Pro that was given to me for free. Upgraded to an SSD and 8GB of RAM and it runs nearly just as well as on my 2013 Macbook Pro - which I would use but the keyboard has started to go out.

My point is you could just buy a used MacBook or a lower end MacBook for far, far less than 5k.

On the flip side of that I have a synthesizer that has increased in value five fold since I bought it in 2007.
>For counting things, it seems like computers would be a good fit.

You could keep the computers but you also have the papers sealed in boxes. Then you can manually check 1-5% of the votes and make sure the machines are correct. Or if someone contests the count and a judge decides the reasons are fair you can count again all the votes in that polling station.
Marketing is a big one for me. Building a great product means nothing if you can’t reach your target audience.

And I don’t mean learning how to used Facebook or Google to run ads, I mean the theory behind marketing.

I would like to read more books similar to the 22 immutable laws of marketing by Al Ries and Jack Trout
The end of BlackBerry phones: Tcl will cease sales in August 2020
Don't forget that Apple already has best in class low power performance/watt on their in house designs. One day they'll probably move all the Mac airs and such to A13 or newer.
It was apparently a common confusion.

https://daringfireball.net/2019/10/mails_message_action_tool...
SEEKING WORK | Remote
Full-stack developer who is able to build MVP fast and contribute to complicated codebases. Open source activist.

GitHub: https://github.com/timqian

Website: https://timqian.com

Teck Stack

- Backend: Node.js; Express; AWS lambda; serverless; GraphQL; RabbitMQ

- Database: DynamoDB; MongoDB; Postgres; SQLite; AWS RDS; Redis

- Frontend: react.js; SASS/CSS; d3.js

- Chrome Extension: react.js; SASS/CSS

Projects

- [chart.xkcd](https://github.com/timqian/chart.xkcd)

xkcd styled chart lib.
100k+ downloads, 5k+ stars on GitHub
Built with d3.js

- [tomato-pie](https://github.com/t9tio/tomato-pie)

A new UI for Pomodoro Technique. Schedule your time directly with a clock.
1k+ active users
Built with pure HTML, CSS, JS

- [repo-analytics](https://github.com/repo-analytics/repo-analytics.github.io)

Thorough analytics for your GitHub repos.
400+ users
Frontend: React.js; backend: node.js, AWS lambda, dynamodb

Rate: $50/hour

Email: timqian@t9t.io
For big companies, migration to AMD is a risky move. Old applications work well on Intel and Intel has been reliable for years. Big corps love boring tech. Now that Intel offering sucks, they do notice but they are not jumping all the the same time. Will the old applications work well on the new AMD tech? What if there is an incompatibility/HW bug on AMD platform which makes critical applications fail?

It takes years for the big companies to get interested in such a big of a platform switch. For now, they've been sticking with Intel and observing how the situation develops. If Intel keeps screwing up, which they do, eventually the big migration will happen.
CO2 Emissions on the Web
300% growth in 2 weeks. Read our first newsletter https://mailchi.mp/2fa56a0eb3ee/introducing-pixz-weve-launch...
I like to read fiction, play video games and socialize to relax, I find that these activities force me to concentrate and helps me temporarily forget about work and other obligations.
To do that, we need more research, more production, better technologies, better energy usage, which turns out to be growth.
Growth includes technological advancement, including for example ... trying to cure cancer and Alzheimer’s.

Am I correct in this?

If so, please let’s stick with growth.
What if halving the price now makes it possible to start producing a new product not economically feasible before? Hell the phone you use is only possible because of continued minituarization and cost cutting of previous generations’ computers.
Those are fairly trivial and well-known optimizations that I did (and I by no means am an expert in writing high-performant code), so all the honors go to GHC authors.
Starting conversations with strangers.

Squat and deadlift.

Eating healthier.

Doing something kind for someone else every day.

Honesty.

Listening to people you disagree with.

Driving safer (this is the most dangerous thing we do on a regular basis).

Meditation.
Your idea was fleshed out using St. Louis as an example in this article from Washington Monthly (warning: explicitly partisan source): https://washingtonmonthly.com/magazine/maraprmay-2016/the-re...
This whole area is people in high rises already. High rise offices, high rise apartments. They’ll fit right in.
I thought so.
Reproducing what your code does in the most simple, naive C program possible, I can beat the existing wc utility, taking only around 40% of the time that wc takes.

So until you put in locale handling, alternate line endings, option handling, and error handling, I don't see that your post is at all convincing.

Quite the opposite.

So I look forward to a Haskell version that supports everything the wc has so we can get a fair comparison.
Indeed - 200 people at 25% efficiency is still 50 people-units of contribution!
Agree, how do you plan to go about it as a developer (I presume)?
New Research on the Adtech Industry
COBOL on Cogs
Children love to listen to people with this skill.
Is not about cooling performance but noise reduction. You need fewer fans and can use bigger ones (= less RPM) giving you a double whammy of noise reduction.
This is how the new voting machines we use here in Austin work.

Big friendly, easy to use touch screen, it then prints your ballot on paper, in big friendly easy to read lettering. You then feed that into another machine. There's the e-voting, as well as paper ballot paper trail.
Star Voting
Can't just take Sha 1 of Sha 256?
No, it's a reminder that anything can be funny with the right context and we all take ourselves way too damn serious to enjoy life sometimes.
Show HN: Narrandum – better customer journeys through storytelling
> That said, the problem is that average wages don't rise as fast as the cost of living does.

And that's presumably part of the problem

> But that housing is so expensive is a failure of local government policies, and by extension, the voters who support those policies. Housing doesn't have to be super expensive.

I'd be interested to know precisely which local government policies are failing here. To a naive outsider, it sounds as if its likely that well-off incomers are displacing existing populations from desirable areas/properties.

What are the failures of local government housing policy? Failure to relax standards so that existing residence can move into nice high-density prefab blocks built on existing green-space?
Minus the google being evil part, this entire operation could have been done in google sheets and would probably have gone 100 x better. With free robust revision history, permission control, and everything....
Australia manages to do it... Hell, not saying its great, but in the last election you could vote 1-6 "above the line", or IIRC 1-105 below the line https://www.aec.gov.au/Voting/How_to_vote/practice/practice-...
wc was actually slower with LC_ALL=C as opposed to ru_RU.UTF-8 that my system normally runs with (about 10 s against 7.2 s).

Which actually raises a good question of whether I should have been comparing with that one — but that'd probably raise more questions and lead to more people accusing me of cheating in favour of Haskell.
In fact I would say that the belief in perpetual growth is pretty much anti-science. It contradicts the evidence that the earth is a sphere to begin with.
Introspection, communication, soft skills
I was just talking about this guy at work the other day: https://www.youtube.com/watch?v=AzF5aUqn-WY

His channel is filled with awesome hardware tracked with MED.
Bloomberg still has not retracted their spy chip story (https://www.bloomberg.com/news/features/2018-10-04/the-big-h...).

Until then, I would take anything you read in Bloomberg w/ a grain of salt.
What are the specific mechanism of ingenuity, innovation and technology?

Is this a general notion, or is there a limited set of dynamics in play?

What are the capabilities and limitations of those dynamics?

What are the role of latent, occult, or unintended consequences? How do those develop with time?

What is progress? What are the goals of progress? What are its limitations?

What are technology traps? What are progress traps?
I remember it as being done on OK cupid, but this is a really good link. Thank you!
Narrandum is a service which enables anybody to make beautiful customer journeys, lightning fast. We use an innovative and fun approach based on good old-fashioned storytelling to help you really understand your customers’ needs, goals, hopes and fears.

Simultaneously excited and terrified to be posting this on HN. Any and all feedback is very welcome and appreciated. Hope you like it.
Motorcycles more cost-effective for medical lab sample deliveries than drones
Does this vulnerability affect people who added a phone number but then removed them? Last time I tried, this method was effective for getting around the "suspicious activity" lock.
> That’s cool. Now, on to my possibly unpopular opinion: This isn’t what computer science is about.

This is not an unpopular opinion at all, CS degrees do not typically cover what's in this class which is precisely why they called it "the missing semester".
The UK is a representative democracy (https://en.wikipedia.org/wiki/Representative_democracy).
Failure of government results from hijacking by corporate interests. As you say, they'll always seek to pay the least, hence years of the tax code being adjusted for profit.
I've been working full time on 'wc' for only the last five years, since being promoted from full time working on 'cat'.

Once I've wrung every last drop of performance out of wc, I can move on to the next largest limiting factor in GNU performance, 'tail' :-)
I believe GP meant "human ingenuity" is the "resource" making this "vast ocean" in which we swim. I think that because I've seen this phrasing before.

Of course it makes absolutely no sense to put "human ingenuity" in the same category as oil, metals or fertile land. It's just a way for entrepreneurs to justify their entrepreneurship.
Cost isn’t the only thing to be optimized. Your time is valuable also.
that denmark negative interest rate is interesting. But it still doesn't quite answer the central issue - who is "giving up" money to lend? The guardian article (https://www.theguardian.com/money/2019aug/13/danish-bank-lau...) only mentions that it's banks passing on negative rates from institutional lenders in money markets.
That's the joke/trick, it's basically begging the question. You can out a cheater by asking a question of the form:

Which is true, (A and A->B) or (A and A->C)?

A cheater will fret over whether B or C is true, while someone who did the work will probably immediately identify that A is false and that the question is misleadingly worded.
Assuming they set it up properly and/or use multiple sheets, a single sheet for 20+ people can get real messy and hard to audit.
Handy article but I still wish there was an easier way to use filters.
Eh. I teach introduction to web development at the college level. All of the assignments are project-based (each week the students build a web page starting out with just html, then adding css, then adding JS, then AJAX, then some simple server-side code, etc.).

Yet, cheating is still rampant.
Let's also remove bivectors and instead use skew-symmetric matrices ( https://en.wikipedia.org/wiki/Skew-symmetric_matrix ) . The modern matrix notation is so much more powerful and flexible than all those 19th century inventions like complex numbers, quaternions, bivectors, dual numbers, ... that we should really stop teaching all those old confusing stuff.
I talk about the effects of limiting GDP-style growth on our lifestyle with my wife. We burn a lot of carbon and use a lot of resources traveling, but on the other hand in our day to day life we tend to buy food in bulk at health food stores, try very hard to avoid using plastic, share one fuel efficient car, etc.

Our take is that, for the sake of our grandchildren's generation and generations beyond that, that we would be willing to reduce our travel, concentrating more on visiting family and friends rather than international travel.

The effect has taken years to become noticeable, but not having network TV in our home so we are not deluged with BUY THIS NOW commercials for stuff we don’t need has helped us to avoid buying stuff we really don’t need.

As a society, if we invested more in libraries, public parks, venues for entertainment, science and education, etc. then I think we would be better off than embracing a more material world/life style.

Everyone gets to make their own decisions, so for my preferences to be achieved, we would need to stop corporate socializism and make consumers pay the real costs for goods. An example would be to remove the $50b per year water subsidies for the beef industry, and make consumers pay for the approximately 4000 gallons of water required to produce a pound of meat in the grocery store.