skysight-inc/HackerNews huggingface dataset:
> The fact that people feel something does not imply that it exists.

I absolutely agree.

Nevertheless, to hear that an intelligent, savvy, world-travelling person could now feel unsafe in many parts of the USA was, to me, indicative of a type of change that is as real as them actually being unsafe. Which is to say: I don't know if they were actually in any more danger than they would have been before, but they now perceived American society as if they were. That didn't happen because they ate the wrong thing for breakfast.

The fact that the "overton window" of the visible culture seemed to have move enough after Trump's election that this person now felt unsafe, regardless of whether there was an actual change in their safety, seems really notable to me, and no doubt even more notable to the people who live with this shift in perception.
I was once 'laid off' early from a consulting contract that was renewed too many times. I was approached very sensitively to be handed the 'bad news' and my immediate response was "fantastic" since I'd been bored to tears for months at my desk looking/waiting for more work.

The odd bit was that they had used some data of my web browsing habits during this downtime as being against policy to cover their asses. So technically I was let go for 'doing math' at work found on Project Euler[0].

[0] https://projecteuler.net/
That paper unfairly jabs at "Schwinger's numerology" because he chose the fine-structure constant in the equation (probably a guess, because he never published the theory behind it). It turns out the magnetic moment of the electron is one of the if not the most accurately measured thing in all of physics, and it fits perfectly with it. So the basis of the entire article, that the g-factor "was obtained using illegitimate mathematical traps" is just misleading.

You have to do the experiment to get the number, if the number doesn't fit with the experiment you have to figure out how to arrange the equation to fit with the experiment. I find this truly the basis for scientific progress. Even if we don't understand yet why it works the way it does. Why is the fine-structure constant everywhere in physics? It's not a hack it's experimentally derivable and has been reproduced over and over again.

I don't see anything inherently wrong with what those scientists "did" with their fudging and playing with numbers. Experimentalists are not infallible. That's why we need reproduction and for others to think up other experiments and to do them. That's what science is about. Nice history paper though.
Does Linux actually allocate buffers for each socket or does it just link to sk_buff's (which I understand are similar to FreeBSD's mbuf's) and then limit how much storage can be linked? FreeBSD has a limit on the total ram used for mbufs as well, not sure about Linux.

Otoh, FreeBSD's maximum FD limit is set as a factor of total memory pages (edit: looked it up, it's in sys/kern/subr_param.c, the limit is one FD per four pages, unless you edit kernel source) and you've got 2M pages with 8GB ram, so you would be limited to 512k FDs total, and if you're running the client on the same machine as server, that's 256k connections. But 8G is not much for a server, and some phones have more than that... so it's not super limiting.

When you're really not doing much with the connections, userland tcp as suggest in a sibling, could help you squeeze in more connections, but if you're going to actually do work, you probably need more ram.

Btw, as a former WhatsApp server engineer, WhatsApp listens on three ports; 80, 443, and 5222. Not that that makes a significant difference in the content.
Depends on which community. It was extremely welcomed by the Android community.
My daughter uses a couple of block-programming browsers environments. One is Frozen-themed where you direct the characters to draw by skating as directed. Modern turtle graphics.
ByteDance researcher creates deepfake detection model with 98.53% success rate
You're asking why a community that's lived somewhere for generations does just all of a sudden pack their bags and GTFO?
You misunderstand. It means that a single application should not use two or
more copies of the SQLite library to open the same database file.

As a practical matter, you really have to work hard to get an application to use two different copies of SQLite at the same time - all the while avoiding symbol collisions on link. You can do it, but it takes some work. And then on top of that your application has to decide to open two or more connections to the same database file, using different copies of SQLite in each case.
> but maybe with a few tens of bucks more three of the terrible limits could be removed: the limitations in the color attribute

Today, i think it is an ingenious design feature, if we consider memory size and bandwidth as a hard constraint (which was, as memory was significant expense in that time). It uses 1.125 b/px, which is almost as efficient as an monochrome mode, while still offers all 16 colors on screen.

In contrast, e.g., CGA has either hi-res (640x200) monochrome, low-res (320x200) 4 color, or super-low-res (160x100) 16 color mode. If it had offered a graphic mode with block colors, it could have almost hi-res with 16 colors, just with block color limitation.
If for exa
Part of it is that travelers are contractors. Management only has to pay for that contract for 3-6 months, then technically that cost is no longer an issue.

Whereas an FTE nurse is a recurring annual expense, so higher wages will lead to higher long-term costs.

Everyone in hospital administration is expecting demand to die down once COVID surges die down, so they don’t want to make any long-term financial changes.
Go's concurrency story isn't great compared to other languages tbh. Combining channels, wait groups and mutexes (because sometimes you do need to use all three or mix/match) leads to confusion on when exactly to use what, when.
Oh, wow, cool. Thanks.
You a mad lad, brah
Raspberry pi 4 performance changes wildly based on cooling. Bare die vs heatsink vs heatsink + fan will give you wildly different results.
I wouldn’t really build one because I’m not sure how Twitter makes money. Ads? Selling data access (firehouse)? Are any of those things actually sustainable?

Twitter feels less like a social network and more like just a tool.
This is a thoughtful comment but IMO your phrasing is too strong and potentially misleading.

As far as science is concerned, the jury is still out on stellar nucleosynthesis. The leading theory - that gravitational collapse causes fusion near the core - may be entirely incorrect, and there is mounting evidence suggesting so including a plethora of modern observations that the theory fails to explain.

For example the so-called ‘coronal heating’ problem has existed for 75 years, since the solar corona was first demonstrated to contain plasma with temperatures of 1 million degrees kelvin and above, much higher than the photospheric surface temperature of approximately 6000 K [1].

As another stunning counterexample, current gravitational models do not explain observed properties of the solar wind like spatial variation and periodicity in time (thanks voyager 1 & 2), among many other things.

See [2] for a dense intro to more unresolved problems in solar physics.

Alternative (non mainstream) theories like “plasma cosmology” are gaining traction in the scientific community for this reason. Note though that many papers do not use that particular phrase to describe their work.

Unfortunately (for intellectually curious folks), the contributors to Wikipedia pages on these physics topics are extremely … biased. Reading [3] may leave you with the impression that “plasma cosmology” has been completely debunked by the scientific community, when in fact nothing could be further from the truth ([4][5] are examples to support this claim).

[1] https://royalsocietypublishing.org/doi/full/10.1098/rsta.201...

[2] https://www.ias.ac.in/article/fulltext/joaa/029/01-02/0003-0...

[3] https://en.m.wikipedia.org/wiki/Plasma_cosmology

[4] https://link.springer.com/article/10.1007/s00159-013-0062-7

[5] https://agupubs.onlinelibrary.wiley.com/doi/pdfdirect/10.102...
Blind auditions only get rid of one aspect of discrimination. However, when the pipeline is starved because of too few role models in their communities due to historical prejudice, blind auditions become self-defeating and self-reinforcing. The top tier of musical talent is virtually identical in ability (equivalent to an Ivy League applicant pool being all straight-As), so maybe it's time to focus on other aspects like increasing diversity so that more kids have role models to look up to.

Of course, you would know all this if you read the article instead of using it as some kind of "gotcha" that minorities aren't up to snuff musically.
The Scapegoating Reflex
> ... they're still in the running for subordinate positions

I think that statement does a disservice to being a software engineer, and is off the mark as well.

At my company (VMware), I know at least one Senior Director and three other Directors (Matthew K., David S., Rajan A., and Ryan R.)who abdicated their managerial role in favor of being an individual contributor for the simple reason that it was much more enjoyable, not because they're "embittered" or "anti-authoritarian".

For a more high-profile example, Mitch Hashimoto of Hashicorp went back to being an indicvidual contributor.

And, on a personal note, I'm 58 & I love engineering — it's fun. I like software, and I'm happy being a developer. I don't think I'd enjoy being a manager, and am not interested in finding out.
> WhatsApp, Signal, and Apple

One of these is not like the others. I have a hard time trusting Meta's and Apple's claims about privacy, including E2EE. They're both billion-dollar corporations with a history of deceiving marketing practices and data leaks. Meta's business model in particular is based on advertising and abusing users' privacy. Why should we trust WhatsApp has their users' best interests in mind, when the company that runs it makes a profit from exploiting user data? To say that it's a conflict of interest would be an understatement.

Good luck with your app, but please don't recommend Meta and Apple products to users concerned with privacy.
What I do now, I gather some 10-20 EPUBs purchased from different sources, then batch convert them to MOBI using Calibre.

Then I add them as attachments to my mail and use Send-To-Kindle. The MOBI files are barely hundreds of kilobytes, and I can fit about 20 books in a single email.
> Is there a language where this isn't true?

Java[0] and C#'s foreaches, Rust I think[1], Javascript's `for...of` when you use `let` or `const`. Probably a bunch of others, this is just off the top of my head (edit: just checked, Swift as well)

And obviously languages which do away with "imperative" iteration entirely e.g. erlang, haskell, clojure, ...

And it should be noted that this is more problematic in Go than in most, because of Goroutines (if you create goroutines using closures in a loop you're hitting this issue). Javascript was extremely hard hit by that (because of closure-based async stuff, and also that `var` is even worse) for similar reasons, which is what led to to `let` and `const` having so much better scoping.

Incidentally, I assume that's at least one of the reasons why the order of evaluation of the `go` statement is so weird. And why you probably should not use anonymous functions to create goroutines.

[0] also Java doesn't allow closing over variables which are not effectively final, so the issue couldn't happen, if foreach variables were not effectively final the compiler would reject the closure

[1] though the borrow checker will usually tell you to get bent before you can even run the code
It is not about buying/delivering the app.

It is about doing payment within the app once it is installed. In that case Epic is paying/maintaining its payment infra. Your point is irrelevant
Yes, the Epic store enables this exact scenario. Lots of free games on Epic make all of their month through micro transactions billed entirely through their own systems. See Rocket League for one example, but there are many.
Worldcoin: Where Techno-Optimism Meets Techno-Colonialism
I think my friend's explanation was that he felt that people who might potentially feel inclined to verbally or physically harass him now felt less inhibited after Trump's election. That is to say, there was no actual shift in attitude but a shift in the likelihood of public behavior based on those attitudes. I have not checked in with him since the last election, but based on conversations we've had in the past, I would guess he does not imagine that Biden's election has changed things much. The genie escaped from the bottle; putting it back is much harder.
Agreed - but if you increase that to people from a household with a car, I bet the number increases. And if people are getting dropped off at work and later picked up, they’ll get dinged twice.

Unless the city was really built around transit (and not just once developed in a hub and spoke like so many cities) it’s hard to beat a car door to door. That’s what we should be focusing on fixing (things like inter borough travel in NYC). Massive congestion charges might be part of that, however.
Exactly. Write your intention first. Only write something else if you had a measurable performance problem and the change fixed it. If you didn't measure, that wasn't a performance improvement, it just was wanking.

Let the compiler, and library writers take care of most of the work of translating your intention into good runtime performance and only intervene when they don't get the job done.
I've used all the notebooks
Curious is this a personal project or a company one?
Some people still call it a toy language because they are mentally like 15 years behind and think it's unreadable nested Jquery event emitter callbacks and Object.prototype overloading. The rest of us pushed for / picked up on the rapid improvements in tooling, spec, and best practices, causing "JavaScript fatigue", though that has slowed.
Is it fair to argue that though? What's the metric for that? $ per Nobel prize? If you look at $ per scientist, LHC is actually quite cheap. $ per "theory tested", LHCb has disproved so many theory papers it's not even funny.

If you compare how much money is spend on fundamental research (or research in general), the pool of funds for a given direction is not limited because of other research. It's limited by all the other things we spend money on. If society wants to fund more DM, astro, whatever research, it would be much easier to find that money for example in the military spending. A minimal haircut there and you could double the research funding.
I am, I am bootstrapping a studio via the Creative Tim freemium model of building free and paid uikits to build the studio.
Gotta be honest it doesn’t look a day over 10^12 years old when it’s sober and had a good night’s sleep
> Cannot make a type in a foreign package implement an interface

I would only push back on this point, and this point alone. Sure, it would be very convenient for me, an author to be able to just extend the implementation of anything that I import. However, when I am not an author and am instead a reader of code, doing this is the number-one way to causally make code totally unreadable. By allowing anyone to extend a type anywhere, it makes it impossible to just read the code. If the package that declares a type is the sole controller of that type, then reading code is easier.

"Where is the definition of this method?" Answer: It's next to everything else for that type, in the package where that type is defined. However, if anyone can extend any other type, figuring out what methods even exist for a type becomes so difficult that you are forced to use a language-server (with all related dependencies installed) in order to use "go-to-definition". If someone wants to understand the code, requiring them to have a full-fledged IDE and/or development environment is pretty awful and quite onerous, and makes codebases tough to get into.

For example, take this line[0] from a tutorial[1] on creating a simple snake game using the Bevvy engine in Rust. The main() function wires up loads of entities, including a `snake_eating()` function. But it also calls a mysterious `.after()` method of the snake_eating() function. If you do a ctrl-f on the file, you won't find an .after() method defined for the function snake_eating(). Just reading the code in that file, the only file in the program, you'll never find what the `.after()` method does or where it comes from. Only by opening that code in an IDE with go-to-definition will you learn that it's set via an automatic macro in the bevvy library[2] which causes all functions of certain signatures to implement the System trait. Which... is pretty tough to get into, and means just reading code without computer aid is effectively impossible.

In your languages, please don't allow packages to extend the interfaces/traits/types of other packages.

[0] - https://github.com/marcusbuffett/bevy_snake/blob/0.7/src/mai...

[1] - https://mbuffett.com/posts/bevy-snake-tutorial/

[2] - https://github.com/bevyengine/bevy/discussions/1137
I wonder if this is a consequence of people demanding more "rigor" nowadays?
Controversial opinion, but the BBC would have been better with a Speccy like graphics mode. The full colour modes on the Beeb left too little memory (12k) - when the Speccy had about 40k left.
Luhn algorithm using SWAR and SIMD
Why work for/under people who would do you that way? There's plenty of money to be made out there. If I have too much "experience," they'll just have to miss out on it.
Scala and Haskell are pretty much "dead" language, I worked with Scala in the past, it was impossible to find poeple willing to work with it so everything was re-written in Java.
An F# program can be about as mundane as a similar Go program, only concise.
Which might be the right approach in a world without torches?
prove me wrong downvoters
that makes sense, startup and many others companies do not have lots of those middle-level management, so you're expected to be self-reliant from the start, where senior and experience hires fit well.
Is the scotoma similar to the effects that you get by applying pressure to your eyeball?

https://en.wikipedia.org/wiki/Phosphene#Mechanical_stimulati...

Or is it quite different?
Ask HN: How can binance block crypto transactions when crypto is decentralized?
Binance is blocking certain users (linked to Russian government) (1) How is this possible when crypto is supposed to be decentralized? Can those users not access their wallets bypassing Binance's controls?

(1) https://cointelegraph.com/news/binance-blocks-crypto-accounts-of-relatives-tied-to-the-russian-government
I really wish nil didn't exist in Go. It causes those familiar runtime panics like "cannot __ on nil" we love from those loose scripting languages like node.
I’ll side with Epic when they agree to let me sideload skins in Fortnite. Open your platform, Epic!
See the charles manson example, also, most cults. idolatry usually leads to this. see also cult of personality.

Also, yes. That sounds incredibly sane. Especially if they say "Lets have trial by combat" and other such calls to violence.
Nope. The actual harddrive then still has power and will finish its work.
I think if you address the coward blockage from the get go you’ll keep the upper hand.
Twitter employees search for answers as Musk takeover becomes reality
As an obese person, a big advantage of the Zoom/WFH era is that people usually just see your head and shoulders, so won't judge you on the size of your belly (or the clothes that never fit us fatties well)
Same is true with any computer these days. So let's go no heat sink, Pi 4 4GB anyway.
Some discussion on the use of Aluminium “Advances in Aluminum Relative to Ship Survivability”: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.69...
Basically the answer to your question is that too little of any problem is engineering to justify someone experienced remaining as just an engineer. As you get more senior, you should be knowledgeable and experienced enough to be able to coordinate the efforts of other engineers and mentor (or facilitate mentoring of) junior members of the team. And you should be able to cooperate (or battle) with other sections of your organization for resources and to convey progress on your projects.

Everyone would like the person doing the above to be someone intimately familiar with and good at the work they're managing, or else everyone is pointy haired boss and we all have to complain about how MBAs are ruining our lives...
Probably because the chemicals they were using are pretty nasty and were used in high volumes. They were doing a lot of damage to the environment and there are alternatives. They just haven't been approved yet for use by the navy. It's not a good look to continue using damaging, outdated methods because your bureaucracy is so bad that can't utilize new technology.
If you want braces in your f strings you double them up.

Ex:

n = "hn"

print(f"hello {n} your path is {{path}}")

Out:
hello hn your path is {path}
Homelessness. Not really much of a choice.
> line with Formula E’s achievement as the first net-zero sport

I don't understand how can they claim such things, what is the definition for "net-zero".

Doesn't matter how optimized, say, the production of a car is, say it produces 10 metric tons of CO2, how are they gonna offset it? And all the rubber, travelling, batteries, etc?
Should you (or Disney, but costs always end up at the customer eventually) have to pay a fee for every single device you sign into Disney+ on? It’s bad enough you can’t use it on an Xbox without Gold Live or whatever it is.
That was a very cool project, though I believe they aren't really related, even though they seem similar. Pyjs/Pyjamas was a more of a Python to JavaScript transpiler.

This is the actual CPython runtime with full standard library and many of the Python mathematical and plotting libraries compiled to WASM, running in the browser. It can also be included with other HTML and JavaScript on a web page just by wrapping the Python in a tag.
Ask HN: Beyond AWS/Azure/GCP, what cloud providers should I know more about?
If you were to advise someone starting to build a SaaS product from an idea, what cloud providers would you recommend knowing more about beyond the bigger three?
> The sad reality is that if you’re over 50 you need to be applying to positions that are “age appropriate”

This is BS advice - the appropriate position is one that you like and you have the skills for. I mean, rephrase that and you can see just how discriminatory it is - “women should apply to gender appropriate positions, not programmers”. You see how terrible that sounds.
They forgot to add that Go's date handling is a bit... different also :)
Go is an ok laguage with a top-notch runtime
As opposed to funding things that are not particle physics at all. As far as I can tell, knowing that bosons exist has had approximately zero impact on our ability to engineer new stuff. Personally, I'm tired of footing the bill for a field that requires the one of the largest, most expensive experimental systems ever conceived yet seems unable to produce more than useless factoids.
> highly performant lightweight threads with full blocking semantics via goroutines

If you've ever tried to doing any actual high-performance work using the Go mantra "share by communicating" with channels, you'll quickly find that it isn't high performance. Any Go program that actually needs high performance will break all the rules for thee and use undocumented things like sync/atomic.
It appears that many of the issues I see in articles of this type are often RTFM-level issues, especially when calling out linter exceptions (which a quick scan of the source code of an individual linter would help to explain).