skysight-inc/HackerNews huggingface dataset:
FOSS isn't entrenched in any meaningful way. No one forces or even guides people to make FOSS. People choose to opt into FOSS, and choose to work on it for nothing.

As an alternative, there are millions of commercial software vendors out there, and they predate FOSS. They weren't forced into some FOSS hegemony, because that doesn't happen.

If people don't want to work on FOSS, they can do what everyone else does and start a company, and charge for their work.

The thing to avoid is starting something that's totally free, watching people pick it up because it's free, keep using it because it's decent, and then assume that those people owe you money. They may well have done something else if they'd known they were making a purchasing decision from day 1.

I do think there's an opportunity somewhere for GitHub, that owns most of the infrastructure for Javascript OSS development, to do something for JS developers. For example, they could do what YouTube does with paid accounts and distribute some of the monthly fee to creators proportionally based on watch time.

(Note: that wouldn't be righting an injustice, although I'm sure their marketing would make the most of that instinct in people. It would just be adding a proprietary marketplace to monetise OSS creators. But it might also alleviate the problem.)
I feel like the conclusion I draw from this data is that smart people tend to have smart (and wealthy) parents
i'm way too dumb to understand quantum mechanics and all its implications but i love to believe in quantum immortality and surfing all those possible realities to infinity - the most optimistic, while somewhat grounded in science, approach to thinking about life & death imho
Doing both makes a lot of sense for development as well... you don't want to pay for a VPS for something that isn't going to be developed to completion or run full time, save that for the real projects.
You say they can decide for themselves, but in reality the troops are conscripted and forced to fight at the behest of the leadership or its suzerain. Massive agency problem.
> Look at all the people earning good salaries at tech companies today.

They're obviously in a great place in their life, but thats hardly "exceptionalism" like Van Neumann was. Tech exceptionals are a different and more selective cohort (you said CEOs).

Take Steve Jobs - he wasn't wealthy, but he spent time alone as a child, and his earlier teachers gave him extra personal attention. His parents would share their interests with him (eg carpentry), and gave him freedom to learn from them and also learn from the neighbors (who were Silicon Valley engineers). He cold-called Hewlett (H of HP) who gave him a job at 13. He was starting businesses in high school for money. Steve was given a long leash to learn, ample minds and talent to observe, and was treated like a self-directed adult as a child.
In this blog post, we explore how to use Next.js 13's app directory and consume i18n translations for both server and client components in an easy way. With this approach, you can reduce the size of your bundles and maintain the code clean.
Can you elaborate? Why should everyone have a will? In particular, why should a kidless and unmarried person have a will?
Some level of respect, higher than the average warlord of the time.
I've used their flexbox guide for years and had no idea DigitalOcean was involved. Not sure how good marketing that is. The
> Docker adding iptables rules is understandable once you realize the full power of Docker networking, but I feel it's reasonable for people to not predict that behavior, given such power is beyond many people's use cases. (FWIW, rootless podman doesn't alter iptables, validating the proposition that using Docker in simple scenarios doesn't lend itself to a mental model that predicts iptables changes).

Adding to this. I really don't blame people (not even my past self) for:

* Expecting `-p 8001:8002` to behave the same way as the unprivileged `ssh -L 0.0.0.0:8001:${CONTAINER_IP_IN_ONE_DOCKER_SUBNET}:8002`.

* Expecting `ufw` to pickup changes in firewall rules.

* Trusting the offline `man 1 docker-run`.

Even knowing what I know now (I'm still pretty ignorant, but a little bit less than in the past), I still consider this a bad default from the Docker CLI.

Yes, `docker run` needs privileges for other stuff, but since the forwarding part can be done without punching a hole, I don't think it's unreasonable to expect it to be done that way.

Even just mentioning the word "iptables" in `docker-run(1)` would go a long way.
For me it's more the bastardisation of the MVC pattern.
Huh? Wouldn't that put your net-worth at $101,000 minus the amount owing on your mortgage?
The majority of the people on board any given plane have no idea what's on the cargo manifest, it could be snakes...

More likely so some of the passengers is trying traffic a snake or two.
Sure. I'll add it to the roadmap. Thanks!
Show me homoiconicity used "for real". Sure, it's useful in compilers and interpreters, but how often do people need them in a business application? You will most likely use a library, and/or a syntax designed for serialization instead of programming, like JSON.

I personally vastly prefer Python's syntax over Lisp's, because the parentheses require two buttons pressed (shift + 9) instead of one (tab). That may sound trivial, but it's why I jump to Python instead of a Lisp.

That said, I do suffer from Python problems: the GIL, clunky immutable data structures like pyrsistent, poor support for shared memory for multithreading and so on.

Edit: I just realized in Lisp you could replace the built-in data structures if you wanted, so libraries like pyrsistent would require little change in client code syntax. I guess that's one example of homoiconicity in action.

Can you come up with another one? It is not very often that I find myself wanting to redefine the language I'm using (which comes with its risks: other coders and/or their tooling might find my code hard to follow).
I can't predict the future like you seem to be able to, so I'll stand by my assessment of a misleading headline. I can count at least two comments in here that were written under the impression that the website is shutting down for good.
It is more complicated. If you can accept an always online / always connected model then you can guarantee more things because there is only one source of truth (the server). The reason to care about local first is that even today, it’s hard to guarantee a server will always be connected and that model has some privacy and scalability challenges.
curl wttr.in/xxx with “xxx” as location (area code, city name) for weather
At that point just use any of the DOSBox variants. DOSBox Pure made for libretro is the best imo (as far as gaming is your concern) https://github.com/schellingb/dosbox-pure

Or just use ScummVM if Monkey Island (and alike) is your only goal https://www.scummvm.org/
Hey sorry but why does this site change my cursor to a green circle? Does that serve some useful purpose in shooting down aliens? It's the kind of thing that would be awesome if you were dropping me into a game, or like, showed me vast amounts of shipping in realtime worldwide and asked me to predict a better path-to-target than the current path the ship was on and then showed me how much more fuel that would cost, or some shit like that; but as it stands, it reads as really bad design (and hubris towards serious people) in a pretty basic website these days.
Major reason will always be support burden. For http to work reliably you need to put clients into DMZ anyway. If you let computer illiterate end users operate in DMZ you will end up supporting them anyway, because in the your network will be at risk of depeering/blacklisting. Supporting http behind NAT is again significant support burden that costs actual money while your competitors offer service access cheaper. It makes sense to not only not support http behind nat but block ports altogether for retail and offer proper liability waived DMZ access under enterprise plans.
It’s not a valuable target platform, but you don’t need much CPU or memory to do a DoS. I know how to pull all circuit breakers in my apps and those endpoints WILL see even a puny node trying such shenanigans. Also, DDoS mitigation will kick in almost immediately.
Good stuff man. Very happy to see some folks still experimenting and trying things and then writing about it. Thanks for sharing Michal!
Ask HN: What are the black arts of software engineering?
Every time I use flexbox I google flexbox and click on the top result.
Selling to competitors sounds like a great way to create monopolies and perverse incentives.

Your idea is full of holes.
> Companies behaving like cartels is more common.

Companies can start to behave like a government and reduce or eliminate competition, it's true. I don't think it's proportionally a big effect, but happy to read sources.
Do isps still do this? I've been using a business cable account for years, but when our local telco went fiber and wanted me to switch, they told me they didn't have such restrictions. I haven't made the switch because configuring pppoe is more complicated than plugging in a network cable and asking for an ip.
The rule here is simple - if you can own my network, you’ll have to manage it.
That's actually exactly how the author (Gary Bernhardt) describes implementing Functional Core, Imperative Shell:

> This is the cadence of the entire project so far. I tend to bloat up this outer file to something like 250 lines in some cases. Then I extract behavior out, moving it into unit-tested classes, figuring out how to make it more functional.

Skip to about 11:40 in the video. (There is some additional explanation right before that.)
A complete guide to Linux process scheduling (2015) [pdf]
> It’s probably some sort of missing childhood syndrome, where you didn’t get to experiment enough with identities as a child.

It could be the opposite. I was given a computer with internet access around age 5 and allowed to experiment all I wanted. I was a faceless entity at first, but after around a decade, I started exploring animal roleplay and eventually animal identities as I saw others doing those things.

Found a form that I felt like I identified with... and now that's my honest identity.

> as long as you are doing this with similar people and in a community, who cares, be happy.

I am <3 species euphoria is great, when I can express myself~

> What’s ridiculous is ...

Please don't.
omg same!! i have visited this page soo many times the first 6 months of my first web dev job.

Really sad to see this, hoping all the best for OP
President Biden in Kyiv?
Source code -

https://github.com/chubin/wttr.in
There was a remarkable edge case in the /new queue last week,

https://news.ycombinator.com/item?id=34713166 ("[How*] Russia Decides to Go Nuclear (foreignaffairs.com)")

A single word establishes the gap between "this is the hypothetical procedure of how a nuclear war would start" and "a nuclear war is starting".

These bot edits can be pretty distracting when they go wrong!
Here's my guess. Wordpress allows you to enter the url of your website for a free link to it if it's approved. There are probably enough people who auto approve with a blacklisted set of key phrases for the comment body. A random string is human recognizable but somewhat hard to pattern match.
Joe Biden, the President of the United States Is in Kyiv HTTPS://T.co/PIcHYk5A1B
Add.: to substantiate, and argue against replies mentioning that this is a sufficient but not necessary condition, my impression is that that was the dominant form education took back then. Over half of Virginia Woolf, Lev Tolstoy, John von Neumann, Blaise Pascal, Alan Turing, Bertrand Russell, René Descartes, Mozart, and Bach were children before standardized testing (and schooling I think?) became widespread.

If the form of education we receive today was not widespread or present in their lives, and their dominant form of education did not have any statistically significant benefit in cultivating people to be exceptional, we would still see the same phenomenon that the post author has observed, that exceptional people mostly emerged from the dominant form of education system that they had.
AWS had the policy simulator for IAM policies but it hasn't been kept up to date wrt new features (like SCP)... Maybe they'll have something similar for this.
Have you tried running it all through a base64 decoder just to see what happens? Some of the strings are the wrong length but maybe if you concatenate them together...
Can you use it to program ESP8266?
+1
I'd like to add that old military documentation especially SOPs are great references in how to write and implement well written and readable documentation.
I'm surprised you got a phone call, when I worked at a tier 2, we would just disconnect you and wait for you to call us instead.
I lived near a reservoir in rural Maine with similar rules. The reasoning (as I heard it) was that the water-treatment system could deal with some pollutants but wasn't necessarily equipped to adequately filter out viruses like the one that causes hepatitis, which could be spread by people swimming.
which episodes of Star Trek should I watch?

I feel like watches and designer good could be easily designed by AI, no?
That’s pretty much unreadable to someone not in the field. I’ve read it three times and still don’t know the answer to the GPs question. Yes I might be stupid, but I do have a biology degree.
What is AWS Glue Studio
It is definitely coming for the programmers too. They said coding would eat the world but I guess it ate itself...
After seeing The Social Dilemma, I agree that algorithms optimized for making money are evil and have to go.
My personal experience has shown me that static analysis of this kind does not scale for C, the complexity of showing just the memory safety of even simple programs grows astonishingly fast.

Proof overhead for memory safety can frequently be on the order of 5-10 lines of annotation per line of code.
There definitely is a lot of stupid money floating around in this space. Lots of companies that are competing with each other for the same group of consumers. So, it's a race to the bottom in terms of pricing and operational cost. All the under-performers struggle to keep users on their platform and quickly fail if they don't sort out their operational issues. Some of the more successful companies have in common that they are a bit more premium in pricing and reasonably well organized when it comes to operations and relations with local governments (key for even being allowed to operate).

I don't use scooters but I do use a lease bike (Swapfiets), which is very popular here in Berlin. Good old pedal power and I don't mind getting some exercise. They also have ebikes but those are a bit too pricey for me. The scooters look fun but also too unstable for my taste. I like having teeth and I can see a gazillion ways loosing those with these contraptions. Ebikes are nice. I've used a few of those over the years: Uber, Tier, etc. All good fun and pretty effective.

Key challenges in this space are the continuous haggling with local governments about rules and legislation and the continuous drain on cost in the form of maintenance, vandalism, theft, etc. It's just a very operations intensive business and companies that don't do that well don't last very long.
The tool developed wiki2map is Superus. I like Superus. It think Superus can be described as "canvas to everything"
As a newer dev later in life, I love to learn about inter-disciplinary snobbery/riffing. I learned some of what I know from a full stack dev, who was convinced anyone who couldnt do everything "was shit" and "should be something easier like a web developer or IT guy" instead. I'm excited to learn that pure disciplines also look down on full stack devs
ui.passwordless.id: type error: i.getPublicKey is not a function
I think we're in agreement here, but speaking past each other! Your snippet isn't actually UB though, it's perfectly fine. See [0]

> I.e. it serves no purpose, other than documentation
Yeah, agreed.

[0] https://gcc.godbolt.org/z/v4qYME8fP
> he looked at me like I was an idiot about to have his identity stolen

I won't call you an idiot, but I will say you're significantly increasing the risk of social engineering. I had a vanity domain email and someone use another TLD and tried to switch my bank accounts using it. The bank customer service agents are very willing to believe in the equality and authenticity @lastname.com and @lastname.net. If you go to a HN post on vanity email, there are countless stories about customer service agents not understanding how email addresses work.
The funny part is how the article starts off with how others are missing the point, and then the article continues to completely miss the point. I didn't know you could put that much bias and wrong assumptions into such a few paragraphs.
I usually apply solder on 1 pad on the PCB, then hold the part with tweezers and place it while heating that pad. Once the placement is good, I solder the rest.

I tend to do them 1-by-1, not by dragging over the complete row. If the pitch is smaller than the iron tip, you don't have a choice and need to solder several at once, but usually with flux and the right quantity of solder it works itself out.

For the problems you mention, adding flux and reheating usually works. If there is too much solder, you need to wick some away.
Maybe not out of the box, but it has UART pins so in theory you should be able to.
what "type" of engineered stones are banned? this article does not mention that?

granite counter tops? marble? something else? is this present after polishing and sanding the top surface? how exactly does this work?
Everyone's coming up with hollywood style explanations (it's encryption! it's AI!) but as a former pentester, one of the more likely explanations is that it's probably just looking for vulnerabilities in an automated way. The first thing you do when you get an account somewhere as a pentester is to try to stuff as many strings as possible into weird places just to see what happens.

I don't think automated techniques are very effective (or weren't in 2016) but it seems more likely to be vuln hunting than choosing your Wordpress blog for encrypted comms vs established places like Twitter.

EDIT: faizshah https://news.ycombinator.com/item?id=34866169 points out that https://perishablepress.com/block-random-string-comment-spam... observes the same phenomenon, and the author notes that all of the IP addresses come from Russia. This seems to lend credence to the idea that it's looking for vulns, since, well, lots of traffic from Russia is looking for vulns.
One of my dad's close friends when he was a companion (compagnons du devoir, idk if it exists in the US) worked on submarine welds. He would agree with you (he just retired because army have early pension)

A second welded for EDF on thermic generators, including nuclear. He would have agreed with you, even when he was detached to China. Until 2010.
Now he rants about quality control not doing their jobs, 28 years old managers who never welded once in their life who can't bother showing up on the site, and the resp ignoring his warnings for years. I'd say the probability is at least small, definitely not tiny.
What are you saying? Why make stuff up? Musk isn’t left wing any where. He’s obviously a right winger. He’s always been a right winger outside America. Now he’s finally a right winger here too.
Dup of https://news.ycombinator.com/item?id=34839528
> I don't think people usually complain about it being too much work in a sense that you have to put in several hours a week. People usually even like the initial setup procedure because it's fun. When I was studying self-hosting things was just another hobby.

I wonder if this might not cause some enthusiasts to go for far more complicated set-ups than they really need, which in turn causes a bit of a hang-over when they have less time for the "hobby".

> There's just so many other things to worry about or work on that I don't want to also add time to make sure my email server is running.

I'd argue that of all the things you could self-host, email is probably among the ones where the juice is least worthy of the squeeze. It legitimately is a constant pain in the ass from set-up to the daily operations.
Well, a proposed model should firstly match or exceed the explanatory power of current models.

Until that bar is met, any such model is more in pursuit of beauty and pure mathematics than physics.

Lastly while mathematical beauty and intuitive elegance is generally a good rule of thumb, reality need not conform to our human sense of aesthetics.
People get confused by the wizardly and can't recognize that in many places they are already doing it. A resource orientated REST API is a great example of this paradigm. The API model is declarative... but you interface with it as sequential http calls.

So just do that in code signatures too.
Peering into the Milky Way by FAST: I + II + III + IV

https://link.springer.com/article/10.1007/s11433-022-2040-8

https://link.springer.com/article/10.1007/s11433-022-2039-8

https://link.springer.com/article/10.1007/s11433-022-2033-2

https://link.springer.com/article/10.1007/s11433-022-2031-7
The Constitution is an obsolete document that should be trashed, but the entire judicial system in the US is completely broken and isn't going to be fixed.
One thing I'd add is that old military documentation especially SOPs are great references in how to write and implement well written and readable strategy documentation. There is an emphasis on brevity which is one thing that is both overstated and understated in the process of creating engineering (in relation to software & what I've experienced as swe) documentation. I think I may write something up and publish it here.
He mentions the two sigma study, that's at least scientific? To write an article that people want to read it's often necessary with some personal stories, which of course cannot be anything but cherry picked.
Doesn't the research on happiness say that by and large you can't change happiness? That thing about people who've won the lottery or gotten seriously ill?
Could you elaborate? Do you mean the implementation internals of React, or how dev's end up using the React library?

I tend to agree with https://svitla.com/blog/functional-programming-in-typescript....:

> Enter the functional core, imperative shell approach where you can do as much work as possible in a functional way, and isolate impure interactions on a thin, outer layer.

> The most prominent example of this approach is ReactJS where:

> - All components can be seen as pure functions that take props, state, and context as an input and return a React element as an output.

> - All “outside world interactions” take place on the ReactDOM render/hydrate function.
Now, if you could reduce the overhead of OS threads by using lightweight processes instead ... Wait a moment, isn't that what Erlang does? Well, project Lumen might help you out on the JVM at some point.
Isn't this confusing memory safety with safety?
But didn’t you just say above that you were “suckered” into buying some cloud crap? My apologies if I’m wrong here …
Ask HN: What Is “Learn to Hack” from Sam Altman
I'm non-technical guy but want to start pick skills for foundation of technology because I failed with first product with my lack of experiences in building product people want.

appreciate all hackers here for sharing your experiences.

Vasu
Freshman Hacker :)
America is an awful country and they have lead 50+ coups. Murdered many millions. Installed tons of fascists, right wingers, and dictators. How is that protecting the rest of the world’s democracies?

If you’re in NZ you don’t have to fall for American capitalist agitation propaganda. It’s obvious the US only cares about advancing capitalism and its own imperialist whims.
"Sign up" took me to payments. It should mention how much is being charged up front.

I hope to use this in the near future, just started on rails.