skysight-inc/HackerNews huggingface dataset:
I think I care too much. I want to hit the deadlines, I want to make boss and the client happy, and have a fulfilling personal life on top of that.

There’s too much, and something has to give eventually.
This, and before that taxi driver murderers were also heard of often in China (though I’m not sure if they were more likely to be murderers than average).

Also, Chinese police are overworked (China is extremely under policed ironically enough) and so tend to focus on seemingly easy but impractical solutions to fighting crime.
The literal definition of Economics is the distribution of scarce resources.

The entire point of supply and demand models is for the exact purpose of deciding whether we should use resources now, or use them later (ie conservation), and decide how and who we should spend those resources on.

If you were to ask be to give a definition of economics or supply and demand, a situation exactly like this is what I would use to define those words.
Are nap breaks the new lunch breaks?
Are you serious? Did you miss the obvious subtext?

>Please respond to this message to acknowledge that you have received it. If you can resolve the matters specified above in the next seven days, that would be excellent. If you anticipate that it will take longer, please let us know. I’ve cc’d our Legal alias so that in the event that I am unable to respond, one of our product counsels will be able to provide any necessary assistance.

tl;dr: respond and desist or they will escalate to the next step. Legal action is heavily implied, and it's outright foolish for you to read that and somehow think there's no threat to sue, whether implicit or not
sine and cosine last year?
Now I want to know what your parents are feeding you!!! ;)
I've been on a non-24 hour rhythm :). My sleep would change every day by 4-6 hours.

I've had shutters for my windows so no light could get in the evening, light simulation alarm clocks, only used the computer for a maximum of 8 hours a day and got rid of my smart-phone so I had an old fashioned phone, to reduce phone use. I don't drink coffee or tea. Melatonin, sleeping tablets, waking up every day at the same time and going for a run.

Fyi, waking up every time at the same day makes me ill because I still can't sleep early even if i've had a lack of sleep for several nights before.

You can't crash at weekends either. Because if you crash at weekends it messes up your sleep cycle completely and you'll start Monday having slept at 6am on Sunday night.

A tight schedule means you have to do it every day. Then there's the other problem that happens when you crash out - you're really groggy for days.

When I was in school, I'd crash out at 4pm on a Friday night and wake up at 7am the next day. I'd have headaches and feel so drained. And I'd still go to my weekend job.

It's not a lack of motivation.

If you know anything about this guy and the strategies he uses, please do share. Always looking for suggestions.
Is this serious? I started programming around 9 or 10 on a Commodore 64. I would go to the local library to get programming books for it. Now you can hit F12 in your browser and get a powerful console into JS. JS is fine, encourage the thirst for knowledge.
Have you considered that maybe you simply aren't as interested in the things you want to accomplish as you think you are? I ask because I struggle with the same thing and that question is really what I'm asking myself now too. I'm a mechanical engineer and I generally like building and designing things...to a point. I enjoy it at work but by the end of the day, I just don't have the motivation to keep trying to build things even if I'm superficially interested in it at a high level. I'm probably just not as into as I thought I was. At least not enough to do it at work and then at home.
>> For VCs, this kind of return is abysmal since it won't cover the 7/10 companies that went completely bust.

Only very myopic VCs would think this way globally. If every business did this, it would be terrible. But each business is its own opportunity/set of circumstances, and forcing everyone to 10X+ is as equally stupid as cashing out $1MM on a four year term sheet on $2.5MM invested.

You must evaluate each opportunity individually to maximize profit and growth. The intentions can always be to shoot for hypergrowth, but if the probability drops below the profitability point, you shouldn't be forcing the issue. Terrible investors do this, and it happens fairly regularly, though it's slowing down as founders become a bit more intelligent with their options.
It's not 'meat' in Missouri unless comes from an animal
How to plant a trillion trees
Only in this specific timeline. On average over a longer timeframe that is more representative of the market, they definitely would not have.
What is the logic in this? How could the company behind the app possibly prevent this and what is it meant to do now? What if a librarian would go nuts and kill somebody, would they burn the library to ashes?
The Unreasonable Effectiveness  of Quasirandom Sequences
Couldn’t blocking just stop those people from communicating with you? You could still read all you want.
Ok I'll bite....where is this very specific advice coming from?
Drift's New Offices in Boston (Virtual Tour)
Comments in a twelve-year-old's code? For whom? Seven-year-olds? (I'm serious.)
That's ridiculous. It's your browser running your extension, you're interacting with Slack in a way they allow (downloading their HTML and JS and talking to whatever internal API they use). How in the world they can prevent you from doing that?
> I think you're giving the '90s too much of a pass. Modern mobile OS's in particular are much more usable than anything back then

I disagree. At least Win 95 was largely discoverable to people who can read. Today’s mobile OSes are completely undiscoverable, with functionality hidden behind inconsistant gestures and iconography.

E.g. Apple Maps. How do I get directions from point A to point B? No obvious widget. Maybe search for point A. A, “directions.” But it looks like it is directions from wherever Apple thinks I am to point A. Not what I wanted. Maybe search for point B. Still directions from wherever Apple thinks I am. Maybe click it anyway. Okay, now routes. But no obvious button or text field to change the starting and ending point. Oh, I see, the “here” is blue. Maybe I can click on it. It’s hot garbage. Would it kill you to have a menu across the top with a comprehensive enumeration of functions your app supports?

And apps like Edge and Chrome are even worse for importing this lunacy into the desktop, where the screen space limitations of mobile don’t apply.
It's reality if you structure the leverage like the CEO did heading into investment rounds. Not everyone can do this and not everyone will prioritize it either.
The gestures in modern iOS really are a bizarre hodgepodge, a "mystery meat menu" if you will, and this is from someone who usually loves and defends Apple's UX decisions.

on the iPad:

- Notification Center: Swipe down from the center of the top edge.

- Search: Swipe down anywhere on the Home Screen, away from the top edge.

- Control Center: Swipe down from the top-right edge, but in that region a difference of a few pixels will either get you the Notification Center, Search, or pull out a secondary app from the side in Slide-Over Multitasking!

- Multitasking: Slide-Over apps can be moved to the left side, but they cannot be swiped off the screen when they're on the left side; you have to throw them to the right side then swipe them off the right edge to dismiss them.

This kind of shit is what people made (make) fun of Microsoft for. There's no way to look up the information for those controls except searching on the internet or when it [randomly] pops up in the Tips app.

However, that the "file system is all sorts of weird" couldn't be further from the truth, and is only based on comparisons with document-centric systems.

Everything is generally organized by apps, which can actually be more intuitive in many ways, especially to people who have no prior experience with computers, while iCloud Drive and the Files app still let you use document-centric workflows if you want to.
The data is open here:

https://buffer.baremetrics.com/

As an anecdote, we are happy paying customers and have been for some time.
The user script typically does, though.
Yeah, and you can't alter them in a transaction which makes things a bit tricky.
Yeah the issue is once a sensor fires once, it doesn't reset and keep firing on new data

My homegrown solution is a sensor at the beginning, and at the end an airflow api call to trigger a dag run of the same dag. Not DagRunOperator because then no dag would never finish due to infinite recursion

It seems kinda sketchy so I'm considering a lower level Celery implementation or even GenStage
Yes, the examples from the current thread.

Why do I need to explain all the finer points of reading comprehension?
Yes, it works. Well, it is missing the location but it at least understands the format. What is it doing differently from the OSM site?
We aren't talking about just accepting them we are talking about making it specific issues to fight for. So no it's not causal, it's exactly the opposite correlational.

Since when was being a gay a problem any of the SF/SV based companies we are talking about?

This is what is absurd about it. Gays are not minorities in SF/SV companies, conservatives on the other hand are. And no I am not a conservative.

Virtue signaling is nothing but that. It's dishonest. It helps no one and alienates everyone who doesn't agree. The exact opposite of what it's preaching.
Nestle Wants Your DNA
It’s easy enough to add items into enums.

But I agree - removing or renaming - safely - is an arse since you have to create a new enum, add it to every table with the old enum, update old to new column, drop enum, drop old columns, rename new columns to the original... yikes!

Yes it can at least be scripted but then all that schema rewriting is a pain on large tables.
> What if the highest bid that you receive today is not as high as what you would receive in 10 years?

What if it is lower?

And if the government has some special knowledge as to what oil prices will be in the future, it should instead buy a bunch of oil and openly trade on the market.

I simply do not believe that the government has this special knowledge or is significantly better than the market.

If you want to reduce risk, you could instead sell the land over time. IE, sell x% of the land every year, over the next 10 years.

The risk that prices will go down is just as a big of a problem as the risk that prices will go up. I see no reason why one should choose status quo bias in favor of keeping unused land that might go up or might go down.
The story mentions that someone claimed prior harassment by the driver in the most recent case. The appearance of non-responsiveness or a coverup can catalyze people's opinions.
Uh, what part is hard?

It's literally 3 lines of work, if you use a tool that does most of the work for you. [Here](https://github.com/fake-name/ReadableWebProxy/blob/510cc41ae...) is a migration I have for one of my hobby projects.

Tthe process is

`alembic revision --autogenerate`
Add two lines to the migration skeleton (4 if you care about downgrades).
`alembic migrate +1`.

I may have the alembic migration commands slightly wrong. It's been a while since I've done them without having bash scrollback handy.
Most things like rigid metals or strong plastics, sure. Things like hair-thin strands of carbon fibre mesh and thin plastic films? Not so much.
It's a pursuasive and fun article and feels convincing, because that's just how Joel writes. But it's kind of funny to imagine the same arguments in any field but software. "We could have optimized and improved the car's design, but you would have had to wait two more months and that cost would have been perceptible. Anyway gas has gotten cheaper, so in 'real' terms the car is 'more' efficient! Fretting about elegant car engineering seems like more of a mental health problem." Not saying Joel is necessarily wrong, but it would be nice if software design had some sense of craft....
In SQLightning the database rows are stored on LMDB instead of writing them to SQLite's B-tree.

In LiteTree the database pages are stored on LMDB instead of writing them to the WAL.

LiteTree has MVCC, that comes from LMDB and SQLite's WAL. It can have many readers and one writer at the same time.
wow you code better than me
Uh..... `ALTER TYPE enum ADD VALUE 'new_value';`?

The only potentially problematic thing is the fact that it's not transactional.
Top celebritIes who left men for women. Must see
one thing is phrased a bit confusing: the statistical weights are supposedly "divided by temperature", but if all probabilities are scaled with some factor and renormalized you end up with the original weight distribution.

the author obviously intends to denote that the weights are similar to the weights in statistical mechanics and proportional to exp(-E/(kT))

In example given any 2 outcomes A and B from the distribution at temperature "1.0" with probability ratio P_A / P_B then at temperature "0.5" the probability ratio of the same 2 outcomes will be the square of the original ratio
Unix in this module
This kid is practicing calculus at 12 years old. He will be able to handle a package manager.
Gravitational constant, G, measured with record precision
I'd point you to Jordan Peterson's "Maps of Meaning" course.

In a couple of words: as a human, you have an objective (be successful, be sexier, make more money, etc.) and things around you will be either tools or obstacles.

An example of a tool or "container" would be a car. It encapsulates a machinery and abstracts getting you from point A to point B. If it breaks, it leaks the abstraction and now you have to go out of your way to fix it.

"Containers" that work are tools that help you achieve your objectives.

For the second part, why some of us tinker: my theory is that we believe this knowledge will help us attain our objectives in a faster or easier path; it's an investment. For example with more knowledge, we can improve our containers or fix them faster when they break.

Bottom line: It's all about humans trying to attain their objectives and using abstractions for it.
There’s often political pressures on police departments to fix unpopular statistics, and not the actual issue.

Most famously this leads Japanese departments to label difficult murder cases as suicides.
Scantron readers use LED's as light sensors? I assumed they used regular photo sensors.

The older form readers used metal brushes that detected the conductivity of the graphite in pencil lead.
This is a great read. Thanks for posting!my favorite quote, "The ML1 is a not a “lightfield projector” or display by any broadly accepted definition, and as a Bi-Focal Display, only solves vergence-accommodation conflict in contrived demos that put all UI and environmental elements at one of two focus planes. Mismatch occurs at all other depths. In much the same way, a broken clock displays the correct time twice a day."
Nice work. I'm not a JS expert but I think I saw a bug.

Inside of animate() you are calling setTimeout() to automatically call animate repeatedly but this is also calling setTimeout() every time animate runs but setTimeout() should only be run once.

You should be able to take

setTimeout(() => {
animate();
}, 100);

and paste it over animate() on the last line
Many userscripts target specific websites and change both their appearance and behavior. Userscripts are often indexed, distributed and ranked like browser extensions are, as well.
One interesting gotcha, which people frequently find baffling, is that it's possible to take up hobbies which involve a lot of interaction with members of the opposite sex, but don't lend themselves well to actually getting to know them. I mean this in the sense that if you already struggle with connecting with people, just being around a greater volume of people won't fix that problem.

I've been doing salsa somewhere between 2 and 5 nights a week more-or-less continuously for the last 6 years. By those who know me, i'm generally regarded as one of the best relative to my experience level (this is something I really struggle to accept, but I hear it enough to be willing to share it), and the vast majority of my friends are women. All of this has had zero impact on my confidence with women as far as dating or relationships are concerned, or even just casual purely platonic conversation with either women or men.

My takeaway from this is, that if you are going to invest in an activity for the purpose of meeting people and building confidence, you'll want to to choose an activity that actually throws you into the situations you struggle with. So now i'm looking for a parallel interest, improv is actually pretty appealing.
You’ll find plenty in this trash fire: https://news.ycombinator.com/item?id=17864026

Look for the light gray posts.
Sorry, why yes, you're right!

create function get_fruits_in_season(season text)
returns setof fruits as
'select * from fruits where season = $1'
language sql;
Very interesting. Did you publish any data or do you have any references you could share?
Towards the end of the first book he turns it into a cautionary tale about how it can all become an obsession leading to negative outcomes.
The call that lives in my mind was a long time ago. It was a sales pitch selling I-don't-even-remember, but given the participants I remember probably some web publishing tool.

Then my manager, the person who would actually make any decisions, took a call and stepped out of the room while the sales-droid was mid-pitch. The other three of us are suppressing laughter, and then see $boss hang up and just walk away while a polished, chipper voice drones on about all the great features of whatever it was.

At which point we have an etiquette problem. One person looks at me uncomfortably and leaves. I can tell the other really wants to bolt too, so I break in and apologetically manufacture a vague emergency to explain why we need to pick up the call later.
Zero transfers. It was a school bus. Cycling for 45 minutes is much more enjoyable and rewarding than using a smartphone (which didn't exist at the time)
1) I believe most employees were paid more in that discussion from 8 months ago.

2) If any employees own equity it's also in their best interests to buyback shares since they'll own more of the company. It also means the founder(s) see a bigger potential pay out in the future and will continue putting all of their energy into the business.

The Buffer team's idea of success became different from the VC's who initially invested -- it's smart to capitalize on this and buy back your cap table if the price is right, you can afford it, and you think the company will succeed.
The term-rewriting paradigm of Mathematica is very cool, kind of like lisp rotated a few degrees. I'd really like to see a more mainstream language adopt that approach. My complaints are more about everything else. Insane scoping rules and constructs (like variables shared between notebooks), and how it is difficult to productively use the language outside of the GUI, but yet the text editor is beyond awful (can't undo more than once, no redo). That and the cells and such drive me crazy.

I'm no expert, but I've been forced to use it on a few occasions, and I've hated every minute of it. I'm fairly fluent in several of languages in different paradigms, but the frustration I experience with Mathematica is worse than any of them.
Hi Jacob,
I never got to thank you for doing the observableHQ notebook for my quasirandom sequencing. For your information, I have linked to it on many occasions which includes in my post "Unreasonable Effectiveness of Quasirandom Sequences" which is on front page of HN right now! :) https://news.ycombinator.com
Do you have data supporting data for your claim?
I'm a Chinese and this kind of murders are really rare. The last one I heard in my hometown (a small costal city) is over 10 years ago.

And with taxi-hailing apps' commence, this is becoming really rare since the driver can easily pin-pointed (by cross-referencing ubiquitous street cams). Actually in this case the murderer got arrested soon afterwards.

While I agree China is under policed, they are generally more effective in body offenses and thanks to street cams (again). These years even home break-ins are rare. As who lived in SF for a year, it's definitely better than SFPD.
> building an inter-application object system without a viable object oriented programming language to do it in.

Objective-C + Cocoa and their predecessors on NeXT seem like they were pretty ahead of their time too, except they actually worked well and still often feel more intuitive than Microsoft's labyrinthine APIs (though I'm told MS has been improving in that area lately, usually by pjmlp :)

I still get surprised by how modular, extensible and hackable Cocoa/Obj-C is.

Check out [0], not the most upstanding example, but something fun nonetheless that I discovered a few days ago.

[0] https://jons.website/blog/randomizing-uicolor-with-swizzling...
People, even open minded, accepting and highly educated people will cheer you when you speak and say what captures their zeigeist, but speak a truth which crosses that zeitgeist and you will see yourself crucified and villified. He was a hero got the Snowden revelations (even the Russian Fed was hailed as an enabler of truth). Now? He’s a turncoat for not falling in line with Russophobia.
>People with an ideological ax to grind are bad at research, and bad at analysis.Data should lead the way.

So why speculate and not use data instead?

Look at your bills and use the price of kilowatt of electricity and the price of CCF or MCF of natural gas to calculate the cost of MBTU. The above study came to a conclusion that you will use 3.5 MBTUs in MN for each 1 MBTU spent in FL.

In my case 1 kWt cost ~10c, 1 MCF of natural gas costs ~$12. At these prices
15 SEER AC will require ~$6.67 for 1 MBTU of cooling
95% Efficient Nat gas furnace will require ~$12.63 for 1 MBTU of heating.

Can you do the rest of the math?
Why didn't someone say "Hey Helen, you know you're not on mute right?"
This article is grasping pretty hard. You mean to tell me if a role was misconfigured to allow anyone to assume it, and someone guesses that role name, then they'll be able to assume it?!

The only part of the article that is interesting is the difference in error messages that allows you to confirm whether a role exists or not, but I suspect that wasn't enough content for a blog post so the scary implications of misconfiguring security policies was thrown in.
How to change your life effortlessly
I also picked up sine and cosine at around that age; it was thanks to programming.

Various example BASIC programs (e.g. Lissajous curve and circle plotters and such) used those functions and from their behavior I kind of picked up the relationship to both undulation and the circle. I found out about the arctangent function, and from that I realized that it could be used for 3D projection. I made a proof-of-concept program that mapped some connected points in 3D (boxes and whatnot) to 2D by calculating the visual angles using arctangents: i.e. I plotted the angle between the line of sight and each point, rather than a simple planar projection. It resulted in the objects appearing in a very nice "fish eye" perspective on the screen, which was very pleasing. From all that I learned about radians also and how there are "two pi" of them in a circle, since the functions accepted radians and not degrees.

You know how they say that necessity is the mother of invention; it's also the mother of learning trigonometric functions and whatever else.
I work in Moorgate, and although I know so many names are derived from the things that were at the location, I'd never put two and two together that Moorgate is the gate to Moor field, which was I assume, a moor.

Especially when there's Moorfields Eye Hospital near by!