skysight-inc/HackerNews huggingface dataset:
But literate programming permits reordering code. The tangle step is where code gets ordered into a structure suitable for the compiler. With most literate programming tools (my experience is with org and org-babel) you can do something like this (a lot of stuff elided for space):

# Chapter 1: The program
The main function is a simple infinite loop, repeatedly performing gather,
filter, and report tasks.
#+NAME: main
#+BEGIN_SRC c :tangle src/main.c :noweb yes
<<main_includes>>
int main() {
while(true) {
gather();
filter();
report();
}
}
#END_SRC
...
# Appendix A:
#+NAME: main_includes
#+BEGIN_SRC c
#include<gather.h>
#include<filter.h>
#include<report.h>
#+END_SRC

The reason to separate them is when the includes communicate nothing of great importance at a particular point in time. The structure of main, as trivial as it is, is probably more important to the reader than the includes. And since cross references and hyperlinks can be attached to the code block, it's straightforward to find where the noweb reference is. The same thing can be used to pull various other pieces out so that the presentation makes more sense (the output is meant to be read, so order becomes important in what and how you communicate).

Using a sketch of a numerical simulation program, you may have this code structure:

-includes
-parse data
-simulation loop
-report result

For reasons the parsing happens first. But that may be the least interesting bit (the data is just be a straightforward series of lines each containing some number of space separated floating point numbers). Why present it earlier when the simulation loop is really the heart of the program? Or in the simulation, the complex bit may be some novel numerical algorithm at the core, and the rest is bog standard loops and data munging. Pull that algorithm to the front, and then insert it (using something like a noweb reference) in the body of the loop.

In Foo22 a new algorithm is described, we have implemented it here:
.. code and prose
With this completed we can now write the simulation loop:
.. loop code people have seen 1000s of times before,
with a reference to the algorithm above
Talk to someone else who contracts and get advice on what a sensible day rate is. Then simply contact recruiters and say you are a contractor and are looking for a contract.

I got into it by mistake when I applied for a short term position without even being aware of the concept of contracting. Turns out getting contracts is typically easier than getting a full time position as there’s less risk on the part of the employer. They can just get rid of you if you turn out not to be good.
Should be fixed now, there was some site maintenance work going on, sorry for that.
I don't think there's any reason to assume Upwork didn't properly verify the credit card.

And my point is not just that people get scammed via credit card, but that we don't have much reason to think that this particular person would be better off under your hypothetical case. Sure, he could have done it. He could have also read and taken seriously the requirement to use Upwork's time tracking if he wanted more anti-fraud protection. He could have detected that the client was dodgy and declined to work for him at all. There are all sort of possibilities, and we can't just pick one to draw lessons from.
First line:

> Anti-vaccination protests are nothing new, although in the past they did have some justification.

This seems to imply that the author can't find any justification whatsoever for current protests. I actually don't know much of anything about any specific protests, but I know that people don't protest for no reason. Whether or not you think the protesters are wrong on balance, you should probably be able to at least understand their case if you're going to be writing about them.

I couldn't be bothered to read past that. What useful insight could this author possibly have if they show this kind of thinking?
Going down that line of thinking, I think every citizen out there can have legitimate distrust of their government.
Totally agree on last part
In Canada, research masters are a prereq for entering a PhD program.
Personally, I find that I remember things much better after writing them down with pen and paper versus typing. It's a very different kind of flow relative to programming on a computer with a keyboard which feels much more ephemeral.
That’s interesting. Sounds like you’re a solid developer, but that your company doesn’t put much effort into making its employees feel secure.

This suggestion might be a bit out of left field, but reading The Wisdom of Insecurity by Alan Watts has helped me a lot with this problem.
I wonder if you mean “no smell to a cat person” or if you mean no smell to everyone else. Because I’ve been in enough cat people’s places to know the former is a real thing.
Ask HN: Which computer keyboard do you use?
>> I don't think any responsible bank would let you withdraw using just an account number.

That is literally how checking works in the united states. You can withdraw money from a bank account if you have a routing number and bank account number and "permission." The permission could be a signed check, it could be an auto-pay ACH you set up by handing a paper form to someone, it could be a web-form you signed without looking over the fine-print.

Most extractive companies (e.g., gyms, verizon) have so many fine print and so many lawyers that they can literally take anything from you without recourse. You'd spend tens of thousands in lawyer fees without getting the money back. You could go to the attorney general's office for your state. Good luck with that, unless its a common issue, you just have to eat the cost as part of being American.

Or it could be nothing. In this case, its still on you to figure it out and get the money back in time.
I think you're ignoring the ways the toilet is better than the litter box. For example, it's also unnatural for a cat to have to smell its old poop and also touch it while burying new poop. A toilet removes that source of stress and potential disease.
Such great memories...

Logo, then moving on to Basic on the VTech Pre-Computer 1000, then GW-BASIC on PC (which to this day I never figured out how to exit! I used to turn the computer off and on again)
I'm willing to cop to being unfair about this whole thing. My own views are colored by my own experience with administrators in my school district growing up, and the school district my wife's siblings grew up in.
I can’t speak for everyone, but I know Synology and Backblaze B2 are especially popular with the IT crowd. Sure the software might be a little clunky, but it does work.

Costs can vary wildly but take a look at B2 pricing and extrapolate. Synology can act as a time machine target for Apple devices.

Personally, if I wanted to do something on a budget, I would probably get some hard drives and periodically add stuff to them and then replace the drives on a schedule to mitigate failure.

When I can afford a house in a year or two, I plan to setup a Synology NAS.
In my state, it was as full-assed as it could be without societal collapse, and didn’t work.
Did you accidentally click "give up" the third time?
Loved it. After trying two three times in vain, I landed up at words.js and cheated. To each to its own I guess.
i know i don’t need a product when they advertise their ProductHunt rating

it’s an echo-chamber of marketers trying to push useless/trivial products for huge subscription fees

if you add your product you’ll get emails from people trying to sell you upvotes, then you know how it works
Is a company that's been in business for five years with a staff really a start-up?
How often would a runaway query be able to run for days without the connection being dropped? I would expect either the incoming client request or the background job that started the query to have their own timeouts, and to dispose of their connections/transactions when killed. If a request or job does last for hours, it's probably easier to notice compared to a query, due to generally better observability tools.

The only time I've seen a running query lasting for days in prod was when a human database toucher had forgot their DBeaver tabs open after running a complex query with too few filters.
Providing an illusion of service for a high price has always been a popular business model.
Interesting, i never thought about e pen and a electronic pad. Will think about that
https://torontosun.com/news/national/do-masks-work-dr-tam-st...

From the chief public health officer of Canada who is also a WHO advisor. She's also said other very questionable things (which are all Googleable and which pretty much every Canadian can tell you as it's been a bit of an ongoing scandal, among others...).

https://en.wikipedia.org/wiki/Theresa_Tam
Isn’t it Robin’s debt to repay to the genuine cardholder?
Paperless tech is not there. If it was there it would not be so inconvenient to do simple things like underlining some text or crossing out a word. I have tried all the above and it is still too cumbersome to really be comfortable. It's not just me; despite the widespread availability of these devices and the technology generally, people have not really made the switch.

When cars first came out their technical advantages over draft animals were so obvious and undeniable that the world rapidly switched from animals to machines and has never looked back. We have had tablets with styluses and other paper-replacing technology for decades now, but thus far the advantages compared to just using paper have not clearly outweighed the disadvantages and the world has not rapidly switched. To put that in perspective, I have not had a desk phone for more than a decade now, because cell phones are clearly a better thing to give employees; at the same time my desk is within 100ft of a heavily-used printer/scanner/copier.
But smart contract, demand standardized interaction interfaces to work the world. Basically they depend on the automatability of all legal work / bureaucracy.
There are a lot of articles out there about how the contracts the freelancing platforms impose on contractors are bad. Maybe they dont leave freelancers with a lot of options in these cases?
I think the author was in Zurich temporarily, but resides in another country based on what he wrote here:

>> Why would a bank take my side (a freelancer from another country) instead of his own actual client who never actually requested those services?

It's definitely possible that the author resides in the same country, but he doesn't go into detail in the article.
Agreed, they're not the clearest of names, particularly in a global cultural context. But they're not totally arbitrary like "type 1 error" and "type 2 error".
Thinktype works a lot like notational velocity (write and search at the same time), but it's actually even easier because it doesn't have titles. You can write the entire note from the searchfield. (I'm comparing it to a web app inspired by notational velocity here[1], never used the original because I don't have a mac.)

[1]: https://notational.co/
I’ve been a professional for 10+ years and I have always used a notebook to work out issues. I fill a notebook in about 3 months. It’s really helpful for working through a problem in a free form way. I draw diagrams, tables, pseudo code, etc. Often forcing myself to think of the problem in a different way (writing it down) helps me understand what needs to be done.
It depends what you mean by contracting - which can be anything from "an employee who gets no benefits so a bit more money" to freelancing.

If you're looking for ongoing part-time contracting, I have successfully landed multiple contracting jobs by applying to places that were looking for full time work, for whom my skills were an exceptionally good fit, and saying "I know you weren't thinking of part-time remote contractors, but I'm a really good fit, would you consider it?"

Lots of places have just never seriously considered it, but faced with a hot prospect, will do so. And lots of places out there are actually wrestling with the issue of needing extra work, but not having enough to justify the obligation of hiring permanent full time.
Ada has adopted it from Modula-2/Pascal.
Allow me to recommend all his writings on Everything2 which is where we first met nearly 20 years ago

https://everything2.com/node/superdoc/Everything+User+Search...
How Prince of Persia Defeated Apple II’s Memory Limitations [video ≈20min]
It should not take someone a week to read a research paper. Depending on the paper maybe a day but usually a few hours. Carefully studying it is something else and that might take a week, but not every paper needs that kind of attention and it's a valuable skill to learn skimming and differentiating between un-/valuable and un-/interesting papers.
It never ceases to amaze me just how authoritarian some "free software" advocates are! So many should's and bans being celebrated in this article. Even if the claims of the author are overblow as compared to the actual law it's fascinating to see how happy the author is to see organisations and individuals being restricted in what they can and can't do. Not sure how this squares with their claim that "Freedom is always superior", but hey.
Twilight of the Cocktail Party Career
Great project!

Trying to find something good to watch on Netflix, my weekend project consisted out of extracting all movies on Netflix and sorting them by IMDB score. Here is the result:

https://oscarfranzen.com/netflix-by-score/
What's more "under control of the enterprise" than a self-hosted IRC server?
If you're left with BLACK/FLACK/SLACK, you guess BEEFS, which tells you which is the correct one. So two guesses, not three.
About a decade ago, I started a few side businesses that I believe, in retrospect, were entirely reliant on a few of my personal connections with associates of popular blogs, most notably Hypebeast.

Startup culture refers to this loss of curation as “democratization” which is a cynical gesture that really just means replacing things like person connections with a ‘highest spender’ promotion industry that is even more dishonest than the curation model. Neither model is democratic in any sense.
I’m not sure why you think a company that wanted to hire you for a leadership role would pay you as a free-lancer to do that role. Generally consultant and full-time hiring pipelines and roles are fully separate, for a variety of reasons.

Also, just in case it wasn’t obvious, this comment does read as extremely arrogant. A company wanted to hire you, you didn’t want to work there because they’re “average/mediocre”, so you’ve decided w/o engaging with them that it might be fun to pop in and just solve all their problems for them.

As parallel comments have pointed out, networking is crucial to contracting, because it’s the primary way that clients connect with you and decide to work with you. If your mindset is that you’re a rockstar saving crappy companies from their mediocrity, you’ll quickly find yourself with a poisoned well.
Wow now this is a convincing result

https://media.springernature.com/full/springer-static/image/...
The problem is that you think bash is a programming language.
SafeBase (YC S20) Is Hiring
Skin safety was a common concern for conventional UVC, and far-UVC has been anticipated to solve this problem so it is focused here.

They are saying the light waves can't penetrate the fist layer of skin... which presumably includes the first layer of eye-ball skin. If true, there shouldn't be any impact to the cornea over time
Probably because some hacker started using it, according to the Jargon File[1] someone in the MIT AI Lab popularized it.

[1] http://www.catb.org/jargon/html/Y/yak-shaving.html
In those days we had no internet. There were no books about LOGO programming in the library.

The math teacher taught us the basic commands, but didn't explain the REPEAT command so we could understand and the importance of it. So I had no examples to follow or a real mentor to suggest a book. Later I learned some basic Pascal, but it was only in high school when I taught myself programming in C++.
> I have a hunch that their adoption of any new technology could be largely motivated by curbing ownership.

I’m plenty critical of John Deere (having worked there for a decade), but I think you have it backwards. Technology drives profit for John Deere, and John Deere’s right to repair is a defensive play to keep third parties from eating into those profits.

Parenthetically, I also strongly suspect that the tech media are overly-cynical about its portrait of Deere’s anti-right-to-repair stance. Practically speaking, it becomes a lot more expensive to ship software updates when you can’t guarantee anything about the state of the system you’re shipping to because the customer has modified various things. Moreover, the more people tamper with these complex, dynamic systems, the more likely there are to be issues, which Deere probably fears will erode its “quality” reputation (Deere’s management can’t maintain Deere’s reputation; it certainly doesn’t want other parties accelerating the erosion). Furthermore, triaging issues and litigating responsibility becomes dramatically more expensive (note that unlike other parts of the software industry, “issues” here are tens of thousands of dollars per incident in the best case and “loss of life lawsuits” in the worst case). So yeah, all of these things are about “profit” from Deere’s perspective, but it seems to me to be less about avoiding competition per se and more about the substantial cost burden on Deere to support a third party ecosystem.

As another parenthetical, I also think people attribute more competence to Deere’s software business than I’ve personally observed. I would honestly love to work on Deere’s technical problems, but Deere has so many political, cultural, and managerial problems that impede technical progress.
Yes of course it’s worse.

The author is a businessperson who’s job it is to make decisions about how to get paid for their work.

The person in question assuming the story is true as stated is totally uninvolved and innocent and just lost $12,500.

I mean in general if people have payment methods others can use with absolutely no recourse that’s a bad thing. This isn’t a super complicated concept.
Sure, trust my thoughts to the web...
In my case I tried to convince my therapist to prescribe medications, but he resisted. I mean he more like advised me to try CBT way and only fallback to pills in case of failure, because they only serve as a crutch if your thinking process went wrong. It just happens that some people need this crutch temporarily and will be fine later by themselves. After 4-6 sessions I picked my PAs apart without any medications, but stayed to fix my other issues for a year. So ymmv, I guess.
Great post! I just dug up this informative comment by @svat from 3 years ago on the Pascal to C conversion, for anyone who's interested:

https://news.ycombinator.com/item?id=16526151

Today, major TeX distributions have their own Pascal(WEB)-to-C converters, written specifically for the TeX (and METAFONT) program. For example, TeX Live uses web2c[5], MiKTeX uses its own “C4P”[6], and even the more obscure distributions like KerTeX[7] have their own WEB/Pascal-to-C translators. One interesting project is web2w[8,9], which translates the TeX program from WEB (the Pascal-based literate programming system) to CWEB (the C-based literate programming system).

The only exception I'm aware of (that does not translate WEB or Pascal to C) is the TeX-GPC distribution [10,11,12], which makes only the changes needed to get the TeX program running with a modern Pascal compiler (GPC, GNU Pascal).

...

I may write a blog post on this since it's relevant to how https://www.oilshell.org/ is written in a set of Python-based DSLs and translated to C++.
I agree. My word was "HIPPY." I don't know how you would exploit it though.
This implies that someone making $60k in Europe is living in poorer quality housing and/or living in a poorer location compared to someone making $150k in America, which I do believe to be the case.

>as well as our long-term economic security and flexibility >Having money in the bank is basically the same as having choices.

Do people in Europe not have long-term economic security and flexibility? Do they not have choices?
Isn't that one of the problems with the pessimistic lament at the top of this thread?

Conditions are rarely if ever static for extended periods of time. The entrepreneur must adapt to the opportunities presented. The popular idiom is, "Where one door closes, another opens".

The observation about 2008 housing prices was telling. A market can stay depressed for extended periods of time. Pessimists could have experienced that same market and missed the opportunity. When evaluating in hindsight the uncertainty of imperfect information inside the moment can be overlooked.

Not only are opportunities constantly changing, but each individual brings unique knowledge to any given situation. Therefore the opportunities in a given situation are differ from one individual to the next. From this point it is easy to see to the value of adaptation and innovation. The man in the article didn't just accept the world as it is, he thought out of the box and created solutions where others saw problems.

I agree that things have changed and that doors have been closed. Some of them may never open again in our lifetimes. Yet at the same time I feel optimistic. There are incredible opportunities all across the Internet. Many here have the technical skills to realize them, but they lack the entrepreneurial vision.
Your thoughts are stored locally.
> but I also think it's real obvious that you can't win a watermelon spitting contest with a mask on

You could if watermelon seeds were the size of coronaviruses.
AMD: Ryzen 6000 in AM5 for Desktop PCs, DDR5 Pricing Could Impact Release Date
It'd be nice if as a society we stopped making all software worse in order to make up for smartphone's many limitations.
I won't let you pay me for my open source – DHH
Using the translation from here: https://news.ycombinator.com/item?id=29863456

> If you begin to feel misunderstood, with no one recognizing the importance of your work and the genius of your ideas, seek for medical treatment or change jobs.

Learning to write more clearly, to promote your work, or to be patient would be better next steps than getting medical treatment or switching jobs.

I have encountered this attitude before (that medical treatment or quitting should be an immediate response to fairly minor issues in research), which I wrote off as an anomaly, but perhaps it's not as uncommon as I thought...
A list of resources, what a gift, thank you!

The "Zero-Knowledge Proofs Starter Pack" section is most up my alley. I read "Zero Knowledge Proofs: An illustrated primer by Matthew Green" about a year ago so am starting by re-reading this. https://blog.cryptographyengineering.com/2014/11/27/zero-kno...
At least in LA, its not the schools. Its, as an earlier poster said, administration. The mental association of "school" is usually a group of teachers and maybe a principal.

In multiple cities, political leadership at the mayoral level has been shown to be getting kickbacks and other favorable terms from our dear beloved employers to adopt that technology. In LAUSD it was Villaragosa and Apple.

When we say the money is "wasted", it's because there is corruption at levels higher than any individual school. Usually.
There is some discussion with vague data here [1]; their estimate of "1-2 papers/year is pretty typical" sounds about right to me. That's significantly more than "one every several years", but perhaps a lot less than might be common in your area. On the other hand, if you were to normalize paper count by number of authors, then maybe my observation does agree with yours.

[1] https://academia.stackexchange.com/questions/122426/how-many...
Indeed. I see this as our downfall: if the price of failure drops then failure becomes commonplace.