skysight-inc/HackerNews huggingface dataset:
> I think the empirical experiments show enough evidence about short functions not being more readable than long functions, that we can't take that as granted.

Pure anecdata on my part, my observation over the years is that developers tend to cluster on this cluster with high correlation to if they're a top down or bottom up thinker when it comes to coding in that top down devs tend towards smaller functions and bottom up devs tend towards larger functions.

If there is in any validity to my anecdata, my hypothesis has been that the top down/smaller function crowd is more likely to trust underlying implementation of sub-functions for one reason or another, while the bottom up/larger function crowd wants to be able to visually verify how things work.
This reminds me of the idea that we could cut traffic if we staggered office hours. In theory it would work but in reality businesses don’t operate that way.

I feel fairly confident that the end result of this would just be that everyone changes their schedules together. Too many industries are linked.
Hate speech against women in India may also be an issue, but that's not what the article is about. The article focuses on hate speech on Facebook against Muslims in India.
Wow, the difference between .Net core and .Net!
I didn't even think about algae. I know big oil has invested a lot into researching it. Not sure if that is marketing/virtue-signaling or a true business interest.

Switchgrass! The facilities required to produce algae must be extreme in comparison to a perennial grass that requires limited maintenance. I guess algae has higher energy density but, I think grass would be more cost effective.
Totally agree with you. I’m waiting for this to start going the way of Uber.
I doubt you'll find poor people playing video games in such disproportionately larger numbers to validate this hypothesis.
In Ontario (Canada) the government automatically contacts you to obtain a free FIT kit when you turn 50.

I just did mine, and it came back "abnormal" (which is a descriptor I've lived with all my life). Needless to say I'm hoping it's nothing, but it is wise to get tested for such things as soon as you reach each risk milestone in life.
If your employer _requires_ you to WFH, say because their office is not open due to COVID-19, California law requires you to be reimbursed for reasonable expenses associated with WFH, including Internet access. Many employers already had this kind of reimbursement in place, though.
That is interesting but seems like it would be impractical from a business perspective. Unless I misunderstand the translation, it could only charge one, maybe two vehicles, enough to (hopefully) make it to a charging station.

A regular tow truck/wrecker can carry 20 gallons of gas in just 2-4 containers to provide 10 cars 2 gallons each, probably good for 50-60 miles in most vehicles.
It's connected to the same reason we only allow US citizens to be involved in US politics. You at least assume that a citizen has a direct interest in the country's domestic well-being. We talk about russian bots nationally because violating that norm is a cultural scandal, but there's plenty of discussion around outsize influence by corporations and the rich in social media as well. It's not really okay for anybody.
I don't know you but apparently you know me.
The smarter ones usually iterate based on user input.
AngularJS which refers to the 1.x branch. I recently did some updates to a 1.x codebase. I migrated it to typescript and changed the components to classes. Surprisingly all compatible with it. It was actually pretty comparable to modern Vue. It felt like a modern framework.
Please don’t
OrderedMap in Go 2 Using Generics with Delete Operation in O(1) Time Complexity
> There's a huge difference in having a surface that's white reflecting your room color versus having a display blasting light directly into your eyes.

What's actually different between a photon of a given frequency that enters my eye after reflecting off a surface and a photon of the same frequency that enters my eye after being emitted from a display?

> You sound like a person who uses a terminal with a black bg and neon green text and claim that as superior. Maybe to you but surely not for the majority

BTW, in the CRT days green on black was actually objectively superior if you were using small fonts on most displays. That was because most displays would have slight misalignment of the red, green, and blue, especially near the edges, leading to color fringing around white things. For small text, the fringing could make text blurry and hard to read.

Pure green on black had no red or blue, so no fringing. Red on black or blue on black would have worked too, but most people find those much harder to read than green on black.
Show HN: Network Monitoring in Rust via async/await
Wasteful of what? Sunlight?

Early and late are relative concepts. As others have pointed out, there's a variety in natural circadian rhythms, as well as preferences.

So to claim an approach other than your own is "absurdly wasteful" strikes me as just shallow and arrogant, and the reason we wound up with DST in the first place.
> I often scroll around only to realize later that it was a massive waste of time I could’ve spent working on something I care about.

Increasing the signal to noise ratio would help reduce time spent scrolling. A “filter” by keyword feature would be massively helpful.
> Network requests without timeouts are the top silent killer of distributed systems.

YES 1000% (I mean maybe not 'top' but it's up there)

languages must move connection pooling, timeouts, and retry semantics into the stdlib

API client libraries have to do a better job of documenting what happens when a request fails

systems need to do a better job of centralizing how timeouts are configured; this can't be left to chance
I worked on CCD and Later a CMOS chips for particle detection for the ATLAS detector during my undergrad! Well, on FPGA test controllers for them. I think They solved the cross section problem by having lots of layers of these chips in the detector iirc.
Oh, I see your point. Yeah, we are not even sure how consciousness emerges. But, for sure, some sort of crude i/o with someone's thoughts could be established, and not far away.
People hit stationary cars all the time. In the UK there are about 9,000 such accidents per year. It’s extremely common.

Someone in the US crashed into a stationary car during the time it took for me to write this up. It happens all the time. It’s not news. Not unless it was a Tesla.
Removing all clocks from my life made it more enjoyable. There is no time visible to me. I took down the wall clock. I hid all digital clocks on my devices. I never set alarms unless I absolutely need to. I can still access the time if I need it, which is rarely if ever.

It took time to adjust to this. It only really hit me how frequently I had looked at the time when I constantly caught myself looking at the empty spot on the wall where the clock had been. I realized I'd look at the clock to decide if I should eat, instead of listening to my body's needs as I should be. I'd look at the clock to decide if I should sleep, instead of how tired I felt. Etc. Living without clocks has made me more aware of my self.

One experiment I did was installing an app on my phone that vibrates it every 10 minutes or so. It was interesting observing how the passage of time changed depending on circumstance. When e.g. waiting for a bus, the phone took ages to vibrate. When out drinking with friends, it seemed to vibrate constantly.
Not shocking at all that Vice would frame an algorithm designed to create construction jobs via federal funding as "broken" and "poisonous".
Ignoring Amazon, my beef is with everything sold at MSRP. Americans don’t have a history of haggling, and most stores’ employees probably aren’t equipped to give you 10% off. I have had luck getting a discount off a new Mac, though usually just enough to cover tax.

If I see an intriguing book in a store I will not hesitate to buy it if it’s 5-10% off. Otherwise I’ll get it on Amazon, probably on Kindle, probably just the sample since my physical backlog is already about 50.
The media is not suppressing information on hydroxycloroquine's effectiveness (specifically for COVID). I read this article and it looks like right wing propaganda, not scientifically factual information.

I think one of the problems is that non-experts (in human biomedicine) don't have the education to read and evaluate a collection of medical studies and sift the BS from the quality.
If the curve was inclined at that point, it would have to be lower either on the left or the right of it.

Just draw any curve in a piece of paper, you'll see it happening.
That actually might be an improvement over the current situation.
Logarithm: An Introduction
Presumably the method for measuring vitamin-c is well established.

I like that their conclusion is 'more information needed' rather than 'deploy all the vitamin-c'. It seems to warrant further study, even if the amount they've done so far has limitations.
This was my "ah-ha" moment as well. I always knew that derivative of the lowest point is 0 but I didn't really understand what it meant. Take any arbitrary curve. Tangent is a line that touches a single point on the curve. Draw a tangent aka pencil touching the lowest point of the curve. It's derivative ie dy/dx apply the formulae to the curve's formulae. It will always be 0 which means it will have no "slope" ie parallel to the x axis
Only if you prefer sunlight over the young night’s darkness
Zerodium won't buy a Slack exploit. I'm not debating whether there is a black market for exploits; there is. It just doesn't buy most of the things HN commenters think it does.
Genuinely curious: what is the difference? Pagination?

What are some examples of the two approaches?
https://thebulletin.org/2009/01/the-limits-of-energy-storage...

Get the word out. Batteries are bad hydrogen is good. Current hydrogen gas will have more energy than batteries at peak technology growth. This matters because hydrogen cars are cheaper, more scalable, and more inclusive than battery cars. Rich people get battery cars, you get a battery bike.
Interesting. I was the only remote person (by choice) on a team before covid. Now the whole team is remote because of closed offices in LA. Feels weird to now start expensing these things only while the office is closed, but it sounds legally I could?
There was similar incident in UK called Rendlesham Forest incident.

Later, it was revealed, that it may actually been an SAS prank to USAF military personel residing on site. See https://www.dailymail.co.uk/news/article-6539849/Has-mystery...
The ”free market” has no obligation to give you good options you like. Common misconception, though.

Politicians and lobbyists (”the law”) are awful at “correcting” problems like this. It’s a total fairytale. We’re better off leaving the out of it.
But we are (in general).

Humans can solve problems that aren't solvable by algorithms and that's why humans can - in general - decide whether a given program will halt. That doesn't mean every human can or that it has been done for every program (which would be impossible, since there are infinitely many instances anyway).

But the difference between humans and Turing Machines (computers) is, that humans can and did proof undecidable problems, while algorithms provably can't.

This is a fundamental difference and there's no way around it. So whatever might be done in ATP, it can't be algorithmic in nature or based on a Turing Machine in order to be applied universally.

Unless of course, you know of a way to disprove Gödel and Turing...
This reminds me of the gender-based discrimination in Banks’ Culture novel The Player of Games.

It’s still astounding to me to see a country keep half of its population in effective slavery.
Isn't the instructors advice relevant to student artists though. It's like 'never use goto', until you understand your craft as a master then it's useful advice.
This seems contrived - the whole point of incomplete charge / discharge cycle is to spare the battery from degradation.
Math is and has always been a form of expressive art, but there's been a vocal constituency since at least the early 20c that claims it's bloodless symbol manipulation. Since computers excel at bloodless symbol manipulation, one would expect them to be programmable to generate proofs of propositions; this is uninteresting to mathematicians unless it has some artistic merit.
Even among people trying to be productive you sometimes see vortexes of distraction, for instance around note-taking. I like note taking (apps and paper) but I think there is such thing as an over-reliance on them. They promote collecting over being. Perhaps also they stop people from completing their own ideas. One becomes Penelope, weaving the burial shroud of a thought forever.

Note taking can be pernicious because it feels like doing something but it also gives an excuse to not put forth your own thoughts until you have all the pieces. Then they become so large they are unweildy. The more notes, the less supple.
Are they going to be permanent though? You’re assuming that people’s routines don’t organically change again over time.

But cost was just one part of my point. The feasibility of getting everyone to change, by their own momentum, was another issue I raised.
Yeah, I agree that 5-20 minutes is purely beneficial, but it can be more addictive than that.
A fully generalized automated "proof checking" is also impossible because it depends on what system of axioms and rules the checking algorithm is using, which is, again, limited by incompleteness theorems. BTW if we have a proof checking algorithm in some axiomatic system then it's pretty easy to write a proof finding algorithm in this system. Via a brute-force - it just checks all strings as a possible proofs of a statement and simultaneously all strings as a proof of negation. It will definitely stop if there is a proof of the statement or its negation, but will run infinitely if both proofs are missing.
> I'm sure they are, but are they more useful than what was before? [..] TV, radio, newspapers

False dichotomy. Lets not skip over irc, xmpp, and all sorts of free, variously encrypted communication platforms that Facebook muscled out.
Another cause, at least in the old days, was bad board design, in which badly-placed traces could induce currents in other traces. Of course this only happened two+ hours into the test.
Does anybody do coupling and cohesion any more?

That was always the dividing line I was taught. A cohesive function you could name to increase the abstraction level and stop your brain overloading.
AS400 is very much alive and stable platform with new release and adequate support available. It just ain't sexy and that was the main driver for declaring it legacy.
I don't want children to have to travel to or from school in the dark. It's dangerous by bicycle (a lot of children cycle), and unpleasant in any case. If you're at a reasonably high latitude that means you need the middle of the school day to be around local noon in the winter. Round here, in the UK, school days typically run from a bit before 09:00 to a bit after 15:00. So something close to astronomical local time would be a good choice of time zone.

You could move the time zone three hours and at the same time change school hours by three hours, but what would be the point of that?

School hours is the main thing that isn't flexible. Office hours vary. Shops can easily be flexible. There's the stock exchange, I suppose, but most people don't interact with that.

So the obvious thing to do is to abolish summer time and leave winter time as it is.
The ticking time bomb with commercial property is the debt. Many commercial real estate ventures are leveraged to the hilt. This is not unlike the housing crisis, although hopefully less painful because some underlying structural factors are less extreme (the government hasn’t felt obligated to buy the debt, unlike with home mortgages).
Thank you! This is an interesting concept that I'll be thinking about for awhile, as it's tangential to things I've been thinking a lot about lately.
Wish you the best in any case :)
China may have banned the sale of TikTok's secret sauce
Elastic Reality 3.1 (1993)
Agreed with child sibling comment, I would love to hear more. I used to journal so much more in college, whereas nowadays I do not. It seemed like life just got so busy all of a sudden and it fell to the wayside.
I would say the profiler output is the best source of information. Lithium is not using black magic at all. Actually on large framework like lithium, performance problems come more from obvious errors that get hiden in the quantity of code than in code that you did not crazy optimize.

Only the profiler will tell you if there is a hidden malloc that is slowing down all the rest, or a inefficient datastructure, or ...

There is probably lot of non optimized code in lithium, it just has no impact (or if it has I still has to find it).

That said, for other kind of software (usually more CPU bound), going down to assembly or using SIMD can be the only way to get good perfs.
Vulnerability researchers with track records make more than software developers do. This whole thread is pretty weird.
HN, Facebook, Reddit, Messenger, YouTube, news websites and dozens of other sites are on a block list from 0900-1800 M-F via a super useful plugin for Firefox (on mobile now and I can't remember it!)
This is amusing. But I wonder when it was that using curse like "fuck" became acceptable in publications like The New Yorker. I feel like it must have been in the last 10 years. Maybe fewer, like the last 4 or 5. I still don't approve. Of course if they are used just like any other words, then their taboo shine diminishes, and then the difference doesn't mean anything. Language is like that. But there has been a shift.
Honestly? I want to pay up front for a device that won’t show me ads. If left to open competition, I’m certain that dozens of app stores would race to the bottom and I’d have an ad and snoop-funded experience on my phone. Apple currently uses their position to prevent this. Sure, it’s for their selfish reasons, but it’s good also for me.
Yes, and time for me to finally start my webcomic, but first I need to build myself a webcomic framework...
Great style and obviously relatable. At the risk of taking it too seriously, though, this piece reveals an all-too-common self-centered approach to goal-setting: "I wanted to found and sell a successful business by the time I was 35". "I wanted to have given a TED talk." These are just personal outcomes that are the by-products of doing something for society. The older I get, the more obvious it becomes that the founders and the TED-talkers of the world are the people whose goals were set in terms of how they specifically wanted to help others - "I wanted to bring better healthcare to Senegal", "I wanted to improve urban transportation". It was just happenstance that founding a business was the only way to get there, or conducting academic research was the first necessary step to solve the problem. Careers and jobs are just tools to affect real societal change; speaking engagements and awards are a symptom of having done something for the world. You can't start with these things as goals and work backwards - I mean, you can, but it requires an almost sociopathic drive for fame and recognition, and is far more likely to result in burnout.
Does anyone know what the price is for bulk e-waste a company like this would pay? Or how to find it?

I’ve been interested in setting up some free local e-waste collection for recycling, but it seems like the cost of collection and sorting is more than the price I can get for it.
Asking in good faith - why would you even drive 500 + 300km on a bike in one go? This sounds like a terrible ordeal to me.
Is there a special word for the kind of procrastination you do by watching or reading productivity-porn?
We're told this is a global economy, and yet think about things that are still overly complicated and expensive nowadays with financial operations. Things like wiring money to people abroad, buy securities in other countries, and all other operations in the hands of a few large financial institutions. Now we throw much of that bureaucracy away.
This software was $3000 per license back in 1993 and was used extensively on TV shows and Movies, most notably the morphs on Star Trek DS9 and the book covers for the Animorphs series.
51 studies show good results. How many show bad results?

Drs in Brazil gave large doses... of what size???

Veterans with preexisting conditions, ok, so if it doesn't do any good for people with preexisting conditions, then what good is it??
This kind of selective BS is incredibly bad, always and especially right now!
> if you have ever seen a swan take flight you know what I mean

The best motivation a rower can have is a swan trying to give you a push up the river.
A pi hole protects your whole network. What you are asking for sounds more like a traditional firewall that I think every computer still supports.
If someone else is interested, I found this recent video on the topic:https://youtu.be/CqsglRFjEKI
What kinds of stuff did you accomplish? I do most work on the computer, with the internet, so just wondering what I could do if I had neither that was still productive for that type of work, like for example programming.
You said:

1. Mandate that every mass produced device with a li-ion battery have a simple mechanism to remove the battery

How do you propose to mandate this?
I admire this worldview. The recipe for a life well lived does not require complication.
Not a psychology researcher and this wasn’t a study so I can’t vouch for “accurate”. Think of that graph as a distillation off my observations and experiences into 4 lines.

The idea I’m trying to share is that understanding compounds. The more you understand, the faster you can gain new understanding. And the more frameworks you have for the world, the faster you can gain knowledge because you need fewer examples to grok something.

For example, once you understand how browser-server communication works, picking up a new library is just a matter of syntax and names. You already know the concepts and what to expect. You might even be able to predict/guess what the functions are called based on knowing what the necessary operations are.
Take a look here: https://old.reddit.com/r/RemarkableTablet/comments/iis4fo/em...

Emacs in '-nw' mode uses mostly black/white, with external keyboard via USB OTG.
You did not answer the question, but started an Apple rant.
Does the term action faking describe it?
I recommend: On the shortness of life, by Seneca. I thought time management was a new problem because of the internet, hustle mentality, motivational porn, bill-gates comparison and whatnot. Here is a book written in the BC era for those struggling with just that.

You can aim to be the best at something, but you can settle at being good enough with the result.
“They’re very controversial for mathematicians,” DeDeo said.
“Most of them don’t like the idea.”

I've always found this attitude very weird. If I was a miner, I'd welcome the arrival of a machine that helps me dig faster.

Even if I was an artist, musician, painter or otherwise working in a "creative" field, I would welcome any kind of tool that helps liberate me from the tedium of material things related to my craft and allow me to reach out further and wider.

I think there's a category of Mathematicians that still believe that their craft is something special, and that the help of machines will somehow taint the "purity" of the work. What a sad and arrogant thing to believe.