skysight-inc/HackerNews huggingface dataset:
Coffee has no effect on me, or a paradoxal one (I am sleepy). My brother is the same. I wonder if there is some genetic component.

I can go from 6 espresso a day to no coffee for a week, without any effects.

This is fantastic because I like coffee a lot (except some days, and then I do not drink any).
Show HN: SlackApi.Log v1 Released
This is also how I do it. Then I can just occasionally use termux to sync notes up.

That said, in the business world I have enjoyed the many features of evernote, but it's been a few years since I used it.
India is a facist state
EU accused of seeking to cut funds for poor in post-Brexit cost savings
I recognized the company name. Almost two years ago during occupational/workspace safety and health training (outside the Finland, where Vincit is) it was brought in as a good example of corporate culture:

https://bestworkplaceineurope.com/CultureAuditEn.pdf

This document seems to be from 2016. I am really interested in how has this evolved since then. Would you mind sharing your thoughts?
I don’t think the term POJOs is used anywhere outside the Java community.
Interesting. I tend to structure my day around goals and work so much that I don't leave enough time for relaxation.

I likely mistakenly assume most HNers are overly ambitious, perfectionist, neurotic types like myself.

I have no trouble getting started, I have trouble stopping.
I'm really surprised this isn't in SPARK considering security is a priority. Rust's type system still isn't capable of formal verification of lack of run-time errors... You know, considering security is a priority.
The last time I ate McDonald's it was during a long road trip and it was late at night. Inside the store, everything was being handled by 3 teenagers and that blew my mind.
Most days, I feel like programming is more like bookkeeping than anything else. Especially in legacy code. Managing complexity and maintaining consistency get hard.
High-assurance crypto software – djb and Tanja Lange
That isn't new for better or worse. Even with new defined broadly as "times that a person who is alive today lived through".

I am reminded amusingly about how moderation at scale pleasing everyone is impossible by complaining about how many pages lower mirrors were than original websites on Google.
I'd be very curious to know your evidence that the brain generates consciousness.
This looks beautiful. I honestly believe more projects should reduce support for older hardware in order to use newer more efficient tech.

I'm not super into pixel art, but will definitely be trying this out nonetheless.
> Furthermore, the duck typing paradigm further warrants Python's position here.

Going to have to disagree with you here. Have you ever used Typescript? You can have duck typing and a proper static type system at the same time without devolving into Java. Furthermore, you can write Typescript without using types at all! Simply have everything default to `any`, and it reduces back down to Javascript.

Python unfortunately decided to go in a direction that is the worst of both worlds. You can add type hints, but they do nothing without a 3rd party tool (?!). This means I can enter a code base, see type hints, and still have no guarantee that the types are what they claim to be. Instead, we have to rely on company-specific build processes to give us that static guarantee. And if you're not lucky enough to work in a codebase that runs mypy before merging, you might as well throw those type hints out the window.
Emails from a CEO who just has a few changes to the website
I’m a one man show. I made a SaaS targeted towards a specific company. I did all the work up front, got them to trial it, and when they loved it they singed a contract for just over $100k/year.

I have a site with ads on it that makes ~$1500–2000/m in ad revenue.

I also do some hosting/maintenance for clients. 4 clients and it’s about $1,000/m.

All in it’s about $130k/year and it requires about 5 hours a week of my time. It has freed up the rest of my time to keep building similar projects that can both boost and diversify my MRR.

I’m very grateful that I’m able to work on projects I enjoy now, but more importantly it’s given me time to spend with my family and be around for my kid.
My comment contained genuine intellectual questions which you have ignored and instead you have provided me with a much more emotionally-motivated response, which I asked if could be avoided ...
I installed golang the other day to check it out for the first time. For whatever reason, I chose to input the 'Hello world' program from golang.org by typing it in manually. As with most C/C++ code I would typically write, I put the brackets on their own lines.

Welp, so much for Go.
Not necessarily. It depends on the type of strain, and the number of plants.
This was posted a while back about their tech stack but lots of good comments here: https://news.ycombinator.com/item?id=20985875

Also very similar post as this one, some good comments: https://news.ycombinator.com/item?id=13167156
Speaking for myself only, the yearning does not go away. It gets overridden by the realization that trying to fulfill that wanderlust was never going to make me happy. For me, travel was just a way of trying to find a place to belong, and once I realized that was my goal, I also realized that going from place to place was the exact opposite of what I should be doing.

That said, the longing has not gone away. I just know it to be a siren song.
I had to install Google Lens first. When I tap join network, the reply is that I have to manually join the network. This is Android 9, and is an Android One phone (yes, still on Android 9 and not even a year old).

Update: Actually it works with the build-in Camera. Point to QR, it decodes it and shows SSID and password, there's a wifi icon button, and pressing that immediately connects.
Off-topic, but I appreciate you linking to the publisher instead of to Amazon. That's a habit I'm trying to break.
You're absolutely right there. "Plain Old Java Objects" - POJOs as opposed to "Enterprise Java Beans" EJBs.
Title of article: "Getting Things Done – Great productivity booster!"

Please don't editorialize titles, as per the guidelines:

https://news.ycombinator.com/newsguidelines.html
You do if you're under 35, male and ~<70th percentile in attractiveness. Which is a massive proportion of the tech world.
Can you broadly talk about how you came up with the idea, how you contacted the company?
that's rather my point.
Wow, those number sound so high for a third world country that I can't help thinking that if I were in your situation I would give half of that salary (5k monthly) to my brother and father so they wouldn't have to worry about money again. Congratulations for being in that situation!
Forgive me if this is ignorant, since I havent done any benchmarks on this in a while, but doesnt GCC produce slightly faster code on average across a wide set of benchmarks compared to clang/LLVM?
Morals of this story:
1. Always use the most performant language available to you. (What if your program gets a few million users?)

2. Horizontal scalability is too much complexity/work. Just apply the correct amount of optimization when you initially write the code.

If you, like me, read this on mobile and did not click [more answers] link under that, then do it. That may save you a minute or two of derealization time.
Sorry to hijack slightly, but figured it's related: I am trying to build a "lifestyle" side project into something profitable, as a goal to replace my job. I think I have a good product and niche.

What I want is some sort of mentor network. Someone who has already succeeded where I haven't, and that I can pester with questions, check I am on the right track, vent, etc, every now and then.

Does such a thing (or something like it) exist?
In my case, I have a fair bit of time for reading, and I read very quickly. I am forever waiting in a queue for ebooks via my library, and a lot of the books I'd like to read aren't available that way. If I were to buy all the books I read, I'd be broke.
I spent a non-trivial amount of time on this when I was running my businesses.

There are, roughly, three very different rationales to have business succession planning in place, and at the scale of a solo operator they have very different best options available:

1) I want to avoid negatively impacting paying clients in the event of a bus factor issue.

2) I want to avoid negatively impacting "the community" in the event of a bus factor issue.

3) I want to ensure my heirs receive the residual value of the income stream.

#3 is by far the easiest for the typical case: buy more term life insurance than you otherwise would. The end. Most people in this situation are, roughly, young and healthy, and term life is a cheap commodity. If your app is throwing off $50k per year, great, take a few hundred dollars and buy a million dollars of 10 year term life; if you kick the bucket your heirs now have a ~$40k safe withdraw rate. (You can get almost arbitrarily high amounts of term life if you throw the words "business owner" around a lot.)

#1 and #2 are a lot tougher because they require a combination of technical skill, extreme interpersonal trust, non-technical professional labor (lawyers/accountants), non-trivial liquidity, and fast action at what will be an extremely trying time for your loved ones.

The best answer I have for this could fill a small book, but the very short version is that you prepare an In Case Stuff Happens packet for an extremely trusted technical friend who has run a business similar in character to yours, with the understanding that if you are to kick the bucket they will (depending on the nature of the property) either a) if it is a trivial site, put it into "maintenance mode" or b) if it is an active business, prepare it for a quick, orderly sale, or c) if it is in the unfortunate position of being in the goldilocks zone between sustainable-with-trivial-work and economically-viable, prepare it for an orderly shutdown (turn off for new users, announce sunsetting in 12 months, etc).

For more on this topic, you'll want to consult lawyers (who unfortunately won't have all that specific useful advice) and either people running businesses with similar characters who have done it multiple times before (death is just another form of exit ;) ) or business brokers (who specialize in orderly transitions and know what you'll need to have lined up).
The answer of course is that it's fine for you to do that. Just don't expect plaudits for your lifestyle. People are mostly inspired by the great, not the typical. If your lifestyle makes you happy, great, but external validation is one thing it's not likely to earn.
The inner class gets copies of the variables, so imperative code that wants to reassign them isn't allowed because it probably won't do what you expected.

The goal is not to GC stack frames. But I'm not sure why the didn't create an inner class to hold the closed-over variables in non-final fields (moving them from the stack to the heap) for both the function and all closures it creates.

(Obligatory "doctor, it hurts when I use mutable state!")
> There is no such language as C/C++.

This is a really weird hill to die on; I see you've made the same comment several times in this thread. C and C++ fit hand in glove, and lots of folks use them in conjunction. I don't think anybody here has the misconception that C/C++ is a single language, unless perhaps they don't know either.
That depends on your definition of "works". In a team environment something that is stupid and is barely coughing blood is a tar pit of wasted effort that will ensnare team member after team member, like a repeating land mine. Odd dependencies, bad repeated patterns, and strange process/architectural workarounds will leave a team inefficient, entrenched, and broken.

It's why I'd rather have lazy stupid people than energetic stupid people. Energetic stupid people destroy organizational output. Lazy stupid people just keep a chair warm.
Most Wonderful Brazilian Music Artists of All Time
Two more low-key ideas here:

https://www.youtube.com/watch?v=Pm9CQn07OjU

Basically, just get into the habit of logging first, then worry about making it seamless.

https://www.artofmanliness.com/articles/the-man-book-creatin...

Go for just the highlights, ignore the noise.

Personally, I tried logging all my finances, my workouts, my diet, my car's miles, etc. for a few years. I never really could get into a very good habit of it, despite any amount of discipline/self-hatred. In the end, these partial and incomplete lists of things became more of a list of 'failures' than anything, personally. What data I could gleam from it was either obvious ('I feel bad when it's been 12+ hours since when I last ate') or they were just too noisy to really get any actionable response from.

Going for the highlights, and on an irregular schedule, was better for me personally.
How is author compensation for library ebook rentals like overdrive, or subscriptions like kindle unlimited?
Propaganda in the War on Yugoslavia
Works for me on Android 7.0 on Xiaomi Redmi Note 4X 4G Phablet since 2017 with the com.xiaomi.scanner app.

Bonus: I can also share my WiFi settings by opening a QR code on my phones display.
> The powers of the Canadian provincial governments are delegated to them from the Canadian federal government, not the other way around.

The provincial and federal governments are all sovereign, mutually bound under a single constitution. They both derive their powers in parallel from the Constitution Act.

> since it was not formed by the uniting of states wary of federal power, but rather the uniting of colonies which all considered themselves to be under the aegis of a single sovereignty (Britain).

Quebec certainly did not consider themselves under the aegis of British sovereignty. Much of confederation was effectively about assuaging the concerns of Quebeckers losing their religious, linguistic and cultural identity in an increasingly majority-English country.

In some ways, the provinces have more powers than US states. For example, provinces do have a right of secession. If the majority of Quebeckers do vote to leave at some point, the federal government has no legal power to stop them. Though Quebec can't secede unilaterally, either. Both parties would be constitutionally-bound to negotiate a mutually acceptable path to independence.
That’s funny, I don’t view daily routines as killing the special factor. I prefer to optimize for quality where ever I can as often as I can, that way I get to enjoy it more often in the short amount of time we have to walk this earth. I’m not knocking the $2 cheap coffee; if it brings you joy, then great! To each is own.

In terms of “addiction to coffee”, this optimization for “specialness as often as possible” puts me in a spot where if a place serves bad coffee, I’ll just opt for tea or something else that I will enjoy. It reminds me that I drink it because I enjoy how it tastes; not because it amps me up.
Many of us are no doubt coding in the equivalent of trader's pidgin - good enough to get the job done on a day-to-day basis, but not really mastery.

There's more than enough examples of people writing C or Java in other languages.
Really information theory and limited sensible combinations make that an inevitability with good enough record keeping. There are only so many possible arrangements of words to make say a sensible arrangement of George Washington's biography that are coherently organized and remotely factual.
This has been a repeated point since "enterprise" Java (a.k.a. Jabba) became a thing in the late 90s and early 2000s. A ton of enterprise code is comically inefficient and held together with scotch tape and used chewing gum.

It ends up boiling down to the fact that compute power is a lot cheaper than developer time and really good developers are more expensive and harder to find than inexperienced ones.
Perhaps, but the advantages of a large third-party ecosystem around LLVM outweighed any performance differences between GCC and LLVM.
Thank you for the heads up! I updated the title now to match, and are going to read trough the guidelines :)
I Started an $8M/Year Stock Market Research Website
I really had a hard time to decide whether I agree with that statement or not. If you design a whole service it is obviously not true. But if you develop something like a specialized Backend, say a database, you might want to reconsider the complexity of horizontal scalability.
The only popular platform with a stable syscall ABI is Linux. This is a product of the historical accident that Linux doesn't control a libc and ensuing drama.

Almost everyone else doesn't have a stable ABI below the (C) linker level.
A Desperate Plea To Come Work For Me For Free.

(Also if you could write a paper on it and put me as the co-author, that'd be great.)
You can compress your data beforehand using zip or another tool. Eg. Tools like https://en.wikipedia.org/wiki/Compression_of_Genomic_Sequenc...
Can't you also defer work to c extensions in threads?
US Colleges Turning Students' Phones into Surveillance Devices
Picnichealth.com ive been using them for over 2 years and love it
>What am I going to resell them for 50 cents? Too much effort!

Don't people already sell steam trading cards for even less than that?
Or become senior and apply for that Haskell job in five years.
Does anyone have any experience with them?
Because our society has an unhealthy obsession with wealth and status, and we’ve convinced ourselves that the only way to be happy in life is to amass both.

The irony is that some of the wealthiest people I’ve met seem the least happy and settled. It’s so strange.

The concept of having “enough” is fundamentally incompatible with the hyper-growth startup, social-media driven society that we’re creating. Because having enough means that you’re giving up on the rat race, at least to a degree.
You're describing a prioritization problem, not a focus one. Prioritize the items in your life and then put the proper focus on them. Also, and this is a big one now, actually focus on those items. When you're cultivating a relationship with someone else, don't have your focus on your phone or work. This ties into the common phrase about being present.

Also, for me it was more important to understand what NOT to focus on. Figuring out that which truly does not matter and letting it go is one of the most freeing things I have done. It's also a skill/tactic I see at all levels of life. The big picture of your whole life, then there is your work life, then there are work problems, then in jiu jitsu, etc... And the funny part is that people know bike-shedding exists and still do it day after day.
But aren't the edge cases the things that satisfy your pay? The standard cases of today are the introductory examples of tomorrow and will be automated or abstracted away by the end of next week. In JavaScript.
If you're parsing market data then you shouldn't really be allocating at all once the initial setup is complete. So there shouldn't be a need for ref counts.

This is because the allocator itself can have an unbounded runtime that takes milliseconds, causing you to drop.

In the past I've replaced malloc with an implementation that asserts if called on certain threads after init time.
Would it make sense to post major releases as GitHub releases, and link them on your personal download pages?
This might get buried, but have you considered using your calendar? I create calendar events in the past to keep track of where I've spent my time. If you want to create an event quickly, there are tons of integrations. You can even use Siri or the Google search box.

I don't do thi s, but if you want to attach things to your entries in retrospect, most calendar providers have APIs that let you edit the calendar description. In any case, the ICAL format is easy to parse yourself. And each event has an ID, if you want to keep the augmented data elsewhere.
I'm an avid reader. I'll sometimes read a book a day. I don't have the room or money for reading and buying that many physical books. I'm getting to the point where I even prefer the interface of an ebook. I can search, long press a word look it up, read in the dark without carefully positioning a lamp, change the brightness, change the font size, change the font....
A large list of mostly CS academic papers briefly explained. https://blog.acolyer.org
Selection bias. Nobody says you have to be like that. Just ignore the article and move on.

For me, it resonates, because the perspective of "doing my job, having friends and watching movies" sounds depressingly empty to me. I want to work on the next rocket to Mars (yes, I really do want to work on space rockets - because I care about space rockets).

I don't buy into the pressure you're seeing either. If your heart doesn't drive you to strive for meaning in your own work, then you won't be happy chasing it because social pressure tells you to. Not everyone ticks this way, and this is fine.
Ask HN: Where can we sort the 'bestcomments' by the year/decade?
Just wondering if there is another website or location that has the HN bestcomments sorted by year/decade. I love going over bestcomments every month or so and just thought it may be fun to see what the best of the year/decade were. Thanks for any help!
Absolutely agree with you when it comes to textual/structural information where merge conflicts can be solved easily. But for binary like formats, I feel often there is no way to resolve a conflict.
There's nothing particularly novel here, IMO. This is exactly why we have copyright in the first place; creating new content is much harder than reproducing it is. There's no obvious optimum AFAIK, which is why IP law is as problematic as it is.
What you describe is a non-problem: you can trivially spill upvars to the stack on-demand, as most compilers do, while keeping formal parameters in registers. Java needs upvars to be final because it doesn't have the concept of "reference to local variable", but that's just a limitation of the JVM, and one easily solved in other runtimes that very much can pass arguments in registers (e.g. .NET).
Twenty. Years. Ago.
Agreed- a lot of the issues people bring up with node-based programming have promising solutions, its just a matter of exploring the space and finding successful implementations.

As far as timeline, I also think the digital audio workstation model is interesting- modules export parameters that can be assigned to an automation channel and dragged/tweaked visually on some hierarchy of timelines.
Thanks. Any specific recommendations for someone fairly new to low-level networking? IETF docs can be a little dense :)
Quantifying worker output being prohibitively difficult means rankings are not easy at all. In big corps the top ranking is given based on things like knowing the right people and taking credit for other peoples work. At least there is some fairness in the industry via standardized leetcode interviews.
An acquaintance worked for the company and asked for help replacing an existing paper process with an excel document. I helped, but mentioned a web app would work much better. The company trialed the excel version but came back with some concerns. I talked it over with the friend and decided to spend my free time building it out. Once I had a beta ready they trailed it in their location and they loved it. We got it into 2 more locations (all free at this point) and everyone loved it. That raised interest and other stores in the district started asking for it. We launched it across the whole district and finally started to charge. After a year the company decided to launch it nationally. It was a risky move to do the work up front since it could have fizzled out, but it worked out in the end.