skysight-inc/HackerNews huggingface dataset:
I stopped using the term 'technical debt' with non-technical people a long time ago to describe needing to maintain code. One guy even tried to convince me he was correct that the term is BS because, 'he heard from some other <unnamed> guy that technical debt is programmer BS code-speak for wanting to work on pet projects, and not what the business wants or needs.' And that he should ignore anyone who tries to tell him otherwise. Ignoring the fact that if development slowed to a crawl, basically the company would fold and we'd all be out of a job. Anyway.

I liken maintaining code to maintaining a car/engine.

The engine/pit crew analogy has worked well on more than a few occasions:
- We're trying to keep this thing running, right?
- We want it to run fast, and be impressive, right?
- We want to be able to corner quickly, right?

Well, when's the last time you had an oil change? If there's a bunch of gunk in the engine, and we're carrying this 1000lb load of sugar that that one customer asked us to carry, how fast do you think we can go?

If we tend to the engine, we can keep it running smoothly, if at all.

So, we have a choice:
Do we (a) take it to jiffy-lube once every 5 years, or never because who wants to invest in maintenance? and let that one kid who doesn't know what he's doing change the oil?
Or do we (b) let an experienced pit crew tune, monitor and clean the engine and tires regularly so we can fly around the track and win races and make lots of money?

You like cars, right? Hopefully you get it. You decide.
After years of courting conspiracy theorists, it has gotten so bad that they even managed to elect someone that openly believes in QANON to congress. [1]

[1] https://www.washingtonpost.com/nation/2020/11/04/marjorie-gr...
I'm not going to bother refuting this. Like I said, it's an unpopular opinion. You're welcome to think whatever you like, including that I said anyone lied.
I would like the same ability to transmit the information with the phone in lockdown, in a way that the police would understand due to the system being the same.

It was not a comment about whether cards are standard. I do need to be able to present a policy number the police look up in my state.
Ask HN: On student visa working on startup, options for staying in US?
I'm a 25 year old student on OPTX that expires in 7 months. I work as a software engineer at a tech company. The company will sponsor me in applying for the H1B visa. I'm also working on a startup with a US citizen. We plan to have the startup sponsor me as well for the H1B visa. Hopefully applying for a concurrent H1B visa (source: https://www.am22tech.com/concurrent-h1b-multiple-jobs/) will help improve my chances of getting picked during the lottery. I'm also considering a US O-1 visa and EB-1 visa, but might not have the right credentials. I have a Master of Sciences in Computer Engineering with Master Thesis in Machine Learning. I've built sophisticated logistics tools that generated $500k+ of annual recurring revenue in my role as a software engineer. The startup I'm working is launching soon and will be a B2B SaaS that should generate good cash flow.

For who have been through similar situations or with immigration knowledge, your feedback and advice would be greatly appreciated:

1. What are my best options for staying in the US?

2. What other options do I have for staying in the US?

3. For an H1B visa, is there any downside to applying through multiple employers for different positions at different companies?

4. Do I have a shot for the O-1 or EB-1 visa?

5. Is it worth exploring options in Canada? If so, what is recommended for my situation?
Study.

What is most common, and least helpful, in societal issues, is to look to an authority for a quick fix, presuming that protest and action from above cures all ills. But how did they get that authority?

Well, at some point they most likely researched a topic to the point where they could craft a convincing argument.

But that isn't where the matter should rest. When you want better, you have to set a benchmark for better.

And so studies are the tool - deep, rich ones, crafted around the specific scenario. This lets you convince the public and authorities, one at a time, that a certain course of action has merit. Often, officials respond well to requests to study a topic: It builds a path to legitimize action. But you have to hold your own standards high too, and not fall into partisan ways of thinking.

Sometimes you can approach with a broad message, other times you should focus on developing a small circle of people. It is not a uniform thing.
> splitting a string into words not very intuitive

It seems okay?

split :: String -> [String]
split s = w s "" where
w [] "" = []
w [] a = [reverse a]
w (' ':ss) "" = w ss ""
w (' ':ss) a = reverse a : w ss ""
w (c:ss) a = w ss (c:a)

If you're done then you're done (and dump the accumulator), if it's a space get rid of it (and dump the accumulator), otherwise add it to the acuumulator. That the accumulator is stored backward is a bit wierd, but seems more a consequence of linked lists than recursion per se.
European countries are currently required to translate information about all government services to english because of the european "Single Digital Gateway". Well it's a goal; first mile stone comes in this december.
It's far better than vice. The world would be a better place if vice didn't exist. It would be a worse place if 4chan didn't exist. But both should exist and the people should decide. Not a bunch of privileged elites at vice or their corporate masters.

Also, they aren't upset about the "racism". They are upset about the lack of political control. It's the same bullshit they pulled with reddit, facebook, youtube, etc.

Maybe one day these worthless "journalists" will disappear and people can be free. But in the short term, it seems like they will become more entrenched.
Honestly, that's exactly what I found valuable and refreshing. We're so obsessed with supremism in all things, it's nice to hear a detailed explanation of "they're both great". And this has motivated me to give Go a longer look once I'm a bit farther up the Rust learning curve. I appreciate the take that there's value to knowing both.
I second this.

I spent 3-4 hours per day sitting on a park-bench in NYC reading, playing guitar, and writing between Jan-June of this year (and before you ask, I work a 9am to 5am). If you keep a friendly disposition and are welcoming by saying hello when people take notice of you, they will open up quickly – I must note with full sincerity and severity that this assumes you listen and ask thoughtful questions; people are quick to sense when someone is not genuinely and empathetically interested in them.

I've made friends with musicians (and had some great impromptu jam sessions), homeless people, CEOs, software engineers, mentally ill, folks addicted to hard drugs, guys formerly homeless, people who were in prison for a decade and trying to get by and reconnect with their kids, students, tourists, professionals, hourly-workers, and everyone in-between.

Now if you live in an area with a low-density of foot traffic this will not work and I do not have first-hand advice besides, perhaps, move to a more densely populated area. That you asked this question speaks to what you're looking for in this life.
That’s basically singularity
The React Framework in Deno
A point I don't see mentioned often enough is a couple of points about the compiler's poor DX for iterative development.

Go will fail to build if you have unused dependencies or variables. (And it's easy to use the convenient `:=` in a way which faces problems exacerbated by this).

If I'm debugging through something, I might be adding packages or intermediate calculations to try and figure out what's going wrong. But because the Go compiler enforces this proper style of "nothing unused", there's that much more friction when tinkering.
Reading the HN title, I was immediately reminded of the Oliver Sacks book Awakenings[1]. He discovered that the drug L-DOPA could temporarily awaken encephalitis patients from a coma-like state. I wonder if the article's title "Awakening after a sleeping pill" is a reference to that book.

1. https://en.wikipedia.org/wiki/Awakenings_(book)
GlueSQL – SQL Database Engine as a Library
ML Behind Your Favorite Google Meet Backgrounds
Jim's child has leukemia, but most of Jim's work there, "was already done anyway".

I have a close friend, who is also a close friend of Jim's family. Apparently the arrogance of Intel management hindered his ability to actually put together the type of team that he did at AMD. I'm actually concerned about Intel now.

I thought Zen 3 would be, maybe 5-8% better than Intel's current offerings, and newer chips would be on parity with them, but this is just embarrassing.
Python + Qt got waaay better with the release of Qt 5. It's called wither "Qt for Python" or PySide2. I dunno why it has two names but the docs are fantastic. https://doc.qt.io/qtforpython/contents.html
I was so bad ass on this.
I write ebooks, which is currently my sole source of income (which is not for everybody as my living style in this part of the world needs about $150 a month).

I use leanpub/gumroad to sell them. I'm not good at marketing and find it difficult to adapt advice from articles I've read on that topic. Whenever I publish a new book, I put them up for free for a few days and I still get paid as both leanpub/gumroad allows paying more than the price set.

I post about my books on reddit/hn/twitter and other social sites. Getting attention is hit/miss, for example my recent book had good response on https://www.reddit.com/r/perl/comments/jognf5/i_wrote_a_cook... but not much here https://news.ycombinator.com/item?id=25006829

I'm active on stackoverflow and reddit subs related to programming. I've had readers thanking me for the help and some have mentioned that they found out my books from my profile. And I learn a lot too from trying to answer questions.

Based on my experience, the biggest lesson I'd say is not giving up.
These have a designed in end-of-life.

Essentially a counter, that once it reaches zero, you have to ship your whole printer off (at super high expense) to replace a sponge inside the printer. Even if you open up your printer and clean it, there's no user way of resetting the counter.

Search for "Ecotank reset" for more details. But essentially they've priced the required maintenance at the cost of the printer, so the whole thing gets replaced after a certain number of cycles (and cycles aren't the same as pages, it will draw/dispose of ink every printer startup).
The open source world, by and large, uses English as its lingua franca. Of course we're well aware that sometimes commonplace words in one language can mean something offensive in another language.

But I think it highly likely that the original developers of the GIMP knew exactly what it meant in English and probably chose the name because of its English meaning, as a joke that may have been funny in geek circles back then, but now we realize is just in poor taste. (I will give them the benefit of the doubt and assume they were probably more targeting the sexual connotations of "gimp" and weren't making fun of physically disabled people.)

The downvotes are likely because it seems like you have an axe to grind about English being the de facto common language of the internet, not because people think you don't have a good point to make or because of some silly nationalistic reason.
Impact of fasting and calorie restriction on cancer cells
I didn't see that option on the ballot, but I'm glad you got whatever drugs you're on legalized.
> Replace whatever tech with "Rust", and read through the last three days worth of self-aggrandizing submissions.

Hardly. The rust evangelism strike force (and similar hype movements) we're obnoxious, but these days I'm more annoyed by comments whining and derailing threads because they don't like the language someone chose for their project.
Note how I mentioned that Caddy will be the first server to support redundant ACME CAs, so we'll use both ZeroSSL, and Let's Encrypt for redundancy.
Justice Department Seizes $1B of Bitcoin Tied to Silk Road
koajs
Seriously? Do you have reason to be afraid of the homeless or are you simply experiencing prejudice? If the former is the case I recommend you move somewhere where there are fewer homeless.

But this dichotomy of homeless vs. the rich is really silly. You have less to fear around the rich because they are rich, the homeless might be in a desperate situation and behave accordingly, or as put in the Movie Parasite:

> Ki-taek: They are rich but still nice.

> Chung-sook: They are nice because they are rich.

The danger the rich pose is not something they do to you as you are walking home. It is something they do to the planet (like spilling oil or emitting massive amount of carbon), what they do through the legal system (like evict you), or even just fire you, paying you unfairly, stealing from or influencing your government, etc.
That’s not the normal work station at google. Only the chome, Linux, and maybe android team gets it since they need more cpu and memory to compile their projects.
Unlike America where it's just bankers.
I'm going to make so much money with my 'Scalable Manuka CBD Blockchain Honey'
I'm definitely expanding. Beer and Cheezits. Probably a minor gravitational anomaly at this point, but still.
> But it would probably just skew so that CPU was incredibly cheap as spammers/bots mobilised to have as much CPU time on separate IPs as possible... Or something like that.

If they had that amount of CPU time they would have the opportunity cost of using it to mine cryptocurrency instead, so it's still costing them $5 per ID.
There could be a licensing merit if the unclear and unfavorable situation about licensing and availability of new Qt releases continues to deteriorate.
bunnie has some interesting talks about this stuff, his supply chain security one is probably most interesting:

https://www.bunniestudios.com/blog/?p=5519
That's been a staple of HN for the last decade as well.

>"Why C#, why not Go?"
>Proceeds to write some half-assed impl. as an HN comment.
It’s just like “unlimited data *”
I think you might be ignorant with regards to how the rest of the world uses the internet.
To avoid Let's Encrypt rate limits, please use the staging endpoint, as documented:

- https://letsencrypt.org/docs/staging-environment/
- https://caddyserver.com/docs/automatic-https#testing

For more help, please ask on our forums! I don't use Google Cloud but it is more likely that somebody there does: https://caddy.community -- otherwise, time to roll up your sleeves and get to work, forge the answer for others, I suppose!
You could phrase this much more kindly.
Vala is pretty much the official gtk language (insofar as there is one), and remains actively developed. Not sure what the problem is.
> the guy who spends all day chopping wood with a dull axe, and who doesn't have time to sharpen the axe because chopping wood takes all day.

Also a good analogy for continuous integration. I can't implement CI because I'm spending too much time doing manual deployments...
> I've never felt that any of the other hybrid/multi paradigm did OO the kind of service described above.

That’s how I feel in general about multi-paradigm languages.

I like mine opinionated: there are very real advantages to a language which has a strong sense of purpose and the corresponding constraints that typically follow.

Sure, Python has functional features layered atop it, but without reliable immutability it’s not nearly as pleasant to work with as, say, Erlang.
Also, this is very ungoogly on your part. Flaunting some superficial thing like this is dumb. I’m hope you aren’t leak other more important pieces of info just to win internet arguments.
Unseen Darkside of AI
I found my Brother printer in the trash !

I call her trashy. Trashy Brother.
At least for Windows: if browser support is being considered, Firefox is the last browser that somewhat works (both IE and Chtome fails because of TLS 1.2) and it includes the ISRG root (because duh), and if an application still updates on XP there is a good chance that it uses OpenSSL or derivatives (which uses a different root set, likely Mozilla's).

Natively? Windows 7, assuming you have installed all updates before January. Microsoft can update the roots as they please (and historically issued updates up unto Windows 2000, so root updates are a demonstrable solved problem).

BSDs and Linuxes: (Usually) Uses Mozilla's trust list. Also updates separately from system updates, so unless you stick somehow with unsupported systems you already have this (and can be manually included into the trusted roots if you insist on using that outdated version).

macOS: bundled with the system updates (see caveat with Firefox independently managing roots). Here, I don't know what version is the oldest one with ISRG root certs.
Yeah - as with Blender or Libre Office of FreeCad I'm not sure more than one big pro-like open source project can be sustained.

And it seems Krita is moving in the right Blender-like direction to do just that.
I dont think this standard makes a phone a requirement. It just provides a new option.

Is having a computer a requirement to be part of modern society? It certainly helps, and the vast majority of people use them for the convivence, but its not required.
A Random Movie for You
Yep, sorry I should have expanded that.
Along similar lines, our open source React Native app at Code for Boston for iOS and Android is in beta testing from the last several years of work: https://github.com/codeforboston/plogalong – if there is interest I think there is some sort of UDID-oriented URL they can send you to load on your phone.
Accepting new contributors on Tuesday nights ET.
Sounds like you are throwing the baby out with the bathwater. I don't read into Marcus Aurelius' personal achievements as a vindication of stoicism, and nor do I care if his diary was for public consumption. His musings and messages are much more important to me.

That's like criticising Jesus because he was betrayed by one of his disciples.
Older Workers May Be Less Susceptible to Burnout
I'm not in a position to remedy your stated ignorance, but having skimmed TFA, I can say that your question is tangential to its theme of exploring the contexts in which AI players might best compete against one another.

"Overall, AI research has primarily placed emphasis on training of strong agents; we refer to this as the Policy Problem, which entails the search for super human-level AI performance. Despite this progress, the need for a task theory, a framework for taxonomizing, characterizing, and decomposing AI tasks has become increasingly important in recent years"
Another interesting point is that although Rube Goldberg machines are complicated, they are extremely decoupled from start to finish... I've never thought of decoupling code in a negative way before...
Programming as Theory Building by Peter Naur is a worthwhile read on this subject: http://pages.cs.wisc.edu/~remzi/Naur.pdf
If it was true, would they disclose, even if they could? It's not a secret exemption, it's all in the law, Section 505 of the PATRIOT Act.
Don't ask the author though, or he might push it back further out of spite!
Hard disagree. Whatever magic they had back when I spent time on there is gone and it isn't coming back anytime soon. They've been overrun by neo-nazi circle jerking as nazi's have been excised from other platforms.
Big discussion yesterday: https://news.ycombinator.com/item?id=25000559
Do not ever try to say you are going to search something or someone in Polish if there are any Czech speakers nearby - the results might be surprising.
Someone could plausibly write a high-quality exploit for Android 7 that installs the ISRG root CA certificate.

/me runs
I worked for a tenant in an complex that was mostly populated by semiconductor manufacturing and research people.

You could use the parking lots as a proxy for employee prosperity. The chip guys drove better cars than the students, but the government and other corporate people had better cars on average. The chip bigshots made bank though. The chip people would also have crunch periods where they worked crazy hours.

The workers making bank were the tradesmen building the facilities that housed tools.
I switched to ft work from home years ago.

Where is my home office (I guess people are calling them "home labs" these days) going to be has probably always been my top concern since my first apartment and long before I started working from home. Having at least a dedicated room to set up my equipment and hack on side projects is always my top priority since that is where I'll be spending most of my free-time.*

* Granted since I work from home, I now really would like _two_ home offices so I can properly context switch between work work, and side projects. But I guess that is excessive.
I saw a paper describing a clinical trial of a device which electrically stimulates the median nerve to reduce the severity of tourette's symptoms.

This would be game changing to the Tourette's community. It is so much more than just a speech or tic disorder, and to give the worst affected sufferers their lives back (by reducing the impact of disinhibition, etc) is a fucking miracle.
> Honest question:

People who start with "honest question" usually are not being honest.

> The only argument I've heard was "well most present-day hunter-gatherer societies are like this"

Not most. All of them as far as I know. And that isn't the only argument. It's human physiology. Men are built to fight/hunt/etc. We can swing swords harder, throw spears further, pull bow strings further, run faster, etc. Not to mention our closest kin, the chimps, also have have male hunting parties. So it's highly likely, this structure has been around for millions of years, even before we became humans.

> which is incredibly weak

How the hell is that weak? It's absolutely conclusive.

> (not all such societies are like this, and they also evolved along with modern society and probably weren't frozen in time for 10000 years)

Well then find such societies. Go find a hunter-as-female/male-as-gatherer society. Just because you wish it were true doesn't make it so. On the one side, we have a mountain of evidence. On your side, nothing.

The hunters in hunter-gatherer societies also served as "warriors" to protect the family/tribe/territory. So a female-as-hunter tribe/society wouldn't last long in the "wild", if they ever existed.

Modern weapons make it easy for women to hunt, but even today, it's primarily the males that hunt.

Why create a throwaway for this question? That's what I find the most bizarre.
Totally different.

This the question that needs resolution:

f = (x) => (...) ? Foo : g(x)

g = (x) => (...) ? Bar : f(x)

Obviously the type of the result of f should be Foo | Bar but figuring that out is not trivial because there is a circular dependency.
My first mechanical keyboard: The Vortex Core
> YOU PUT THE CON IN CONGRESS.

If the opposite of pro is con then the opposite is progress is...
Email Me When It's Over, get one email when the US election is over
> Maybe an app could simplify delivery?

I'd be very surprised if an app without root privileges could install a new root certificate. If an app installed a malicious (or even just a poor quality) certificate, that would be a pretty big compromise to the OS.

What is strange to me though, is that it seems like the OS should have a mechanism to update the root certs independently of the OS itself. Then again, not updating root certs is a way to put an expiration date on a phone, forcing customers to buy more phones...
For a contractor? You can do better than that making dashboards.
It seems that they may have changed their mind a bit after the newest information have been released. The thread ended up with 58 parts.
I think you missed the plot here.

make.sh is instead of Docker, CI workers, fancy stuff, etc. :)

It's for developers who care more about results than resume-padding.