skysight-inc/HackerNews huggingface dataset:
There are some confusion. Competitive programming is not about optimizing CPU time, but about optimizing programmer time:

Competitive programming is a type of programming competition where participants compete against each other to solve algorithmic and computational problems in a limited amount of time (usually a few hours). The competition typically involves a set of problems of varying difficulty levels that participants must solve within a fixed time frame. The objective is to solve as many problems as possible and score the maximum number of points.

Competitive programming is often used as a way to test and hone programming and problem-solving skills, and it is popular among students and professionals in the computer science and software engineering fields. It can also be a fun and challenging way to learn new programming concepts and techniques.

While it may look at first a good idea for an enterprise to have such programmers that are able to program fast, I'd be wary about the code quality, maintainability, or even merely its adequacy to user specifications. And yes, about run-time too.

One can argue that if a competitive programmer finds a solution quickly, he has time left on his hands to fulfill those additional goals. It's indeed the argument used eg. by Lisp programmers, where the speed of reaching a solution is helped by the quality and high-levelness of the programming language, rather than brute competitiveness of the programmer. Then time is left to optimize the program if there are parts, or algorithms that are too slow for the user. But remember than the best gain of run-time performance are obtained by choosing the right data-structure and algorithms, rather than micro-optimizing and hacking.

There are multiple dimensions and notions behind the word "performance". Recently, energy efficiency has become an important performance parameter (you may choose an algorithm because executing it consumes less energy). Of course, companies may need programmers competent in various performance optimizations. Among other competencies...

http://cliki.net/Performance
Noooooooooooooooooooooo :(
> HN with submissions

And comments too.. but not this one ;)
Yeah. Reminds me of this underwater pressure awareness training video on youtube from a few years ago: https://www.youtube.com/watch?v=PXgKxWlTt8A (if you're squeemish, don't click that link)

Industrial divers / welders / etc get all kinds of training to avoid that stuff, for good reason.
I completely agree with you, but how is that not capitalism?
Most electron apps are (mostly but not solely) a bundling of the web-app.

So the cost is less the cost of "switching" and more the cost of initially writing a native app.

In turn the actual question is how to reuse as much code as possible between the web-app and native apps without it introducing a lot of friction.

And one of the few reliable, nicely (developer) usable answers for this is currently electron.

For "business logic" there somewhat are already other answers, some languages run on most targets reliable and there is also wasm which often still needs a bit more tooling but has a lot of potential for such use cases (e.g. see Disney which AFIK does have their core business logic compiled to a wasm blob and then "only" provide UI/system glue to bundle it in on all platforms their streaming app runs on).

The problem is UI, you really don't want to reimplement UI and the mapping of non HTML/CSS producing UI to a mix of HTML/CSS on some platforms and native components on other often doesn't work grate so it's not surprising people decided to "just go with HTML/CSS everywhere". And if you are already there going with electron isn't "that" much more overhead.
Also the Emergency Rocket Communication System [1], ICBMs with 1 kW UHF transmitters instead of warheads to broadcast prerecorded messages of up to 90 seconds in case other means of communication became unavailable. This one would however not reach submerged submarines.

[1] https://en.wikipedia.org/wiki/AN/DRC-8_Emergency_Rocket_Comm...
Am I misreading this, or is it really about a 2x2 matrix? (In which case computing the determinant involves just two multiplications and one subtraction.)
On a recent trip to the US I found using 00000 works.
And from Bing - https://twitter.com/MParakhin/status/1670666605427298304
While I'm no fan of Uli's business practises, he does expose the fact that the uniqueness of a lot of gear is way overstated. And we havent seen actual innovation from the likes of Moog, Roland, Korg since the 90:ies maybe. So if they insist on repackeging the same ROMpler and Curtis chips at ever higher prices... Clone away.
Which one is more dangerous: gain of function (which likely the cause of Covid-19) or genetic editing?
Sorry but that doesn't work in a reasonable society. You can't let just anyone do anything they want with the repercussions being 'they don't get rescued'. A few points:

* You can't let rescue services decide who deserves to be rescued -- for so many obvious reasons it would be patronizing to list them

* People with a lot of money and no sense can fuck things up on a massive scale if we let them do whatever they wanted

* Human society is not a free-for-all. As much as the civil libertarian tendencies in me want to say 'sure, do whatever you want, just don't mess with anyone else's stuff', it really isn't that simple

Shame and societal norms are a big deal in keeping people in check. Just getting yelled at in public for doing something objectionable is enough to keep most people from spitting indoors or pissing on crowded subway platform or what-have-you.

When shame doesn't work we rely on laws. Laws must be universally enforced and they must be fairly enforced and they must be seen to be enforced.

If we allow idiots with stupid ideas to get lucky enough times then they become looked up to and the shame goes away.

To the same end if the shame doesn't stop them we need to physically stop them or take away their ability to do the societally harmful thing they want to do.

People need to re-learn that you should be embarrassed for failing when what you strove to do was stupid and destructive.
Frontend components are frontend, so until JavaScript is the only viable option, the answer is yes.

LiveView is a channel to pass data back and forth between backend and frontend in a very performant and size-effective way, that hides all the complexity involved, making it astonishingly simple to get started.

The presentation layer it's up to the developers.

Wanna react to a change?

setup a `phx-*` event

Wanna handle some custom event?

Setup a hook [1] [2]

[1] https://hexdocs.pm/phoenix_live_view/js-interop.html

[2] example of reacting to Monaco editor events: https://github.com/BeaconCMS/live_monaco_editor#fetching-the...
>cultural differences have made it impossible to trust any output

That cuts both ways, with German culture (in IT/tech) being off-putting to many foreign talent as well, who tend to prefer anglophone countries or anglophone companies operating in Germany, and strictly avoid traditional German companies, for good reasons.
I don't really care whether it's CCS or NACS. What I do care about is that a choice is made.

The worst outcome for EV adaption would be to have multiple different charger networks and plugs that all need adapters to be compatible with each other.

What's important is that there is single standard, not how thin the cable is or how it looks.

For the EU, CCS was chosen a long time ago and this means every car can use every charger without thinking about it.

For the US, it makes sense to go with NACS if Tesla opens up their network.

Cars are always built to spec for either EU, US or any market. So it matters little if EU and US chose a different plug.
Tourists also like to go from point A to point B. I use citibike in NYC when I'm a tourist for this use case.
Prove a negative you mean?
Learn, Grow, and Thrive: The Transformative Power of Play [video]
Interesting idea, I actually can't think of anything they are able to communicate that would aid in their rescue. They could probably signal if they are close to the surface, they won't be able to provide much more information on their exact location I think.
right; i wasn’t exactly suggesting that there’s a physical limitation here (modulo the indeed well documented synaptic pruning in puberty), more that in adulthood, it’s just not possible to sink all your time into learning something the way you can more or less effortlessly do when you’re 15.
My simplest solution - changing restaurants. I absolutely don't trust the security of mobile devices, won't be scanning unknown QR codes, opening websites with unknown 3rd party spying garbage nor installing spyware-infused apps in order to get a glass of wine.
Interesting... This is similar to the concerns that Vince Weldon, the Boeing engineer had over the 787 Dreamliner hull made of composites: that flaws could not be found by a visual scan.

https://en.wikipedia.org/wiki/Vince_Weldon
I wonder if they're going to give a free version of fleet in order to counter vscode. Although right now is free due to being public preview
I can understand why it's happening, at least:

* Don't need to purchase paper.

* Don't need to purchase or contract a printer.

* Can change the menu willy nilly.

* It's in line with the current environmentalism fad.

But that said: If the restaurant can't be arsed to provide me with requisite-free information on what god damn food they serve, I can't be arsed to provide my god damn money for their time.
If your original error is `fmt.Errorf("failed to frobulate")` or even `errors.New("failed to frobulate")`, even if it's bubbled up with `fmt.Errorf("foo() failed: %w", err)`, errors.Is and errors.As are useless for checking it (each error in the chain, including the original, will be a new instance of fmt.stringError or something like that).

This is equivalent to the problem of throwing new Exception("some message") or new RuntimeException("some message") in Java, to be fair. But this is more rarely done there in my experience, especially because people are more used to defining new exception types since the stdlib has many examples of that, unlike Go (which all returns `error` for all error types).
A finite self referential algorithm that checks all numbers for being prime does exist. Running it on a finite computer will eventually hit the bounds of the computer, but that is a limitation outside of the algorithm.

A finite regular expression that checks all numbers for being prime cannot exist already in principle.
Realistically neither do files. I think it really comes down to our common abstractions. Everything is IO. For the most part shared memory maps are what drives the most performance and ease of use.
TOTPs on Your Android Smartwatch
Let's be clear: cloning stuff where the patent has expired is not remotely unethical in an intrinsic sense. Even if you launch the product the very day the patent expires.

It's a clear part of the social contract of innovation patents.

Society says:

- Ideas aren't things you can really own

- Copying stuff means more choice for consumers and lower prices.

- But copying stuff before the innovator has a chance to earn from their work is bad for innovation.

- If we agree an idea is novel and non-trivial (patentable), we grant the innovator the exclusive right to manufacture, to licence, or not to licence, the implementation they describe for a limited period of time, if and only if they describe it in enough detail to reproduce it.

- In so doing, we provoke further innovation as people try to achieve the same without infringing the patent.

That last one is the secondary outcome, not the primary intent of patent law.

The primary intent is to grant limited protection for patent holders to have a chance to earn from their work. "You explain how you did this so other people can do it in the future, and we will grant you the right to licence that idea exclusively for about half your professional lifetime."

Beyond that point, implementing the design is what absolutely should happen -- that is why the patent is basically education about the design itself. Implementing clones of expired patents is a social good. It actually proves the value of the patent system over the longer term.

If we call this behaviour -- if it infringes no other designs -- unethical, we're really arguing for corporate welfare based on goodwill. That isn't how it's meant to work.

Now, whether Behringer is unethical is another matter. There would seem to be enough other evidence of that!

But implementing expired patents is not bad, even if you literally start selling them the day the patent expires. Go for it.

There are similar issues with TTArtisan and 7 Artisan lenses. Yeah, expired patents of good lenses deserve to be implemented, updated, tweaked, and sold more cheaply. Everyone benefits. But do they have to hew so close to other people's design language too?
I know many people dislike them, but reading has become so much better for me since buying a Kindle and digitising most of my library. I used to be a bookshelf person, but live in a very small space and needed to transfer that space for things from other hobbies.

I still keep 10 or so of my favourite books in print form, and admittedly they do act as decoration more than anything (I have read them), and occasionally buy a print book when no digital format is available.

I know I can't resell the digital books, I can't transfer ownership of them, and they may (unlikely) be censored or removed from my device. I still don't care.

It's so convenient. Travelling with 1 thin Kindle in hand luggage as opposed to 3/4 brick books in my suitcase, the immediate page turns breaking the read less, the backlight for darker situations, the ability to get it in a thin pocket and get it out and read wherever I need to kill a few minutes.

The complementary phone app is also really useful when I don't have the e-reader on hand. I've been doubling my phone up at the gym as a workout logger when lifting and book when using cardio machines like the static bike.

The issue I've always had with books is the idea that when I buy one, I think I'm buying the time to read the book as well. When I go to book store and see dozens of interesting books, I often forget the weeks it will take to read them all. I get through 1/2 books a week and there's a mountain of stuff I want to read. Little optimisations in getting more time to read really help with that.
Happened to me yesterday I’m from New Zealand, trying to buy something from a Chinese website There was obviously some localisation code for New Zealand, but 1st it incorrecly tries to validate phone number, then 2nd it asks for address and prefills the rest of it completely wrong (Canterbury is NOT a state, and it is not a mail destination , and the abbreviation CAN is not recognised by anyone as Canterbury.

I absolutely hate it when you try to give a company some money, and they just fail to close the sale!
Microsoft's first controller is much older than Logitech'.
I'm not sure what I'm supposed to understand from this article.

Using off-the-shelf parts is par for the course even on military boats and submarines. They are far cheaper than custom made parts with fault rates which are acceptable. With proper maintenance and redudancy, this is not at all an issue.

The issue here is the carelessness of the team, the lack of proper safety engineering and an utter disregard for industry best practices. The equipment is not the issue. These specific practices would have led to an unsafe submarine even with custom made parts.
The most important aspect of reddit is variety of moderation. It allows rules to be tried, ideas to be experimented. Allowing communities to self regulate by having their own mods is what makes it so unique. Mods get crazy, people create a new subreddit and things move along. Doesn't work for the huge subs for stolen content or quick bait but it works wonders for smaller communities.

Spez decided to reject that and focus on reddit as a mainstream platform, and as such, disallow and get back the power from the communities and their mods. It'll lower the weird good quality the site has and they will never compete with tiktok for mass attention.

You're right that reddit owns the website, but they don't own the communities. And right now, they're loosing peoples goodwill as well.
Post content, this site literally wants me to pay for human written words on the screen in Year of Our Lord 2023
The Princeton Companion to Mathematics: https://library.lol/main/EFA51226D14D0A95FB6F2BD8669499C5

Took a few seconds to find, got any more challenges?
> You have the old guard, NASA

I thought the latest round of NASA missions were using commodity hardware and taking the fail-early-fail-often approach (at least compared to the old days)? And in doing so have delivered, all failures included, the most bang per buck of any NASA missions?

Not saying I'd trust my life to a gamepad alone, but pragmatism is a virtue in engineering.
Whether or not it's necessary, it's common in the music production business. There are several egregious examples, Gibson Guitar being perhaps the best known.
I've had 4 or 5 different brands and some of them produce irregular side effects. Some of them work as you say with no comedown or issues whatsoever.
I can blindly distinguish Moog from Behringer with compressed youtube audio and I don't even have good ears (at least for one instrument I did that experiment on). It's just a signal, I'm sure it can be copied perfectly but Moog still seems to be doing wrooms like no other.
Of the poppier books of musings and bikes, i like shop class as soul craft somewhat better.

zen and… would have clicked for me if i had found it as a younger person, but by the time i got around to reading it i had already come around to the major focal points of the book by other means and the impact was less.
Some might think this is an indication of lacking quality, but if that is one of those original xbox 360 controllers... they are just plainly indestructible.
A large helium balloon with an open lip perhaps?
The whole concept of how we pay online is insane.

You put data into a form of a random website you want to pay a small amount to. Data which enables everybody who has it to cause trouble. Trouble to you, trouble to your credit card company, trouble to other websites who get scammed with it.

Websites should simply give you a string like "visa:3498734219:$12.34" where "visa" is their payment processor, 349... is the invoice nr and $12.34 is the amount invoiced. Then you copy+paste that into the website of your payment solution and let it do the transaction.

And if you don't like copy+paste, you install some app so you can just point your phone at such an invoice and click pay. Or a browser plugin which detects those invoices and asks you "Pay this?".
In that case, doesn't your password manager support TOTP?
(Full disclosure: It's me on stage. I recently had the honor to give this talk.)

I believe that we should play more. We're undervaluing play - it's so good, and somehow we don't always perceive it as the powerful tool it is.

I'm looking forward to hear your opinions! What do you think?
A model need not be copied to be better. IMO there are lots of reasons for people to pursue their own ideas or ideas that don't require fundamental upgrades to their operating system.

I can also imagine doing the reverse of what you suggest in that libraries could implement fundamental mechanisms like RPCs and the file model would just be one form of interface to them. This would enable all programs to work to a minimum level with a new source or sink of data.

So you wouldn't need to rewrite code to be able to make it send data via your new RPC mechanism or dump data to your strange new distributed backup mechanism. That would be tremendously powerful.

If you had to do something very specific then the choice to access it via a more complex API would be there.

In fact if we forgot about files per se we could just look at models of access like:
1) sequential serial
2) low latency random access
3) heirarchical namespace
4) search-based namespace
5) high latency request/response

That way a file manager for example, could treat a namespace like my remote ssh drive differently from my local disk which offered low latency random access by not trying to generate thumbnails on it and not blocking while reading the names in it.

i.e. the file model is possibly too simple for its own good but that doesn't mean we couldn't make it better.
It is kind of odd wording though to speak of "a physics subreddit" since it seems like it would make sense for there to be only one ("the physics subreddit" instead of "a physics subreddit"). That's not how things are though with /r/math, /r/maths and /r/mathematics existing all at the same time despite focusing on the same topic.
can you go more in detail of what was difficult in React / Typescript but an order of magnitude easier in LiveView?
Slightly OT question: I need to integrate payments on a new service I created[+], and for now I need to use a "merchant of record" approach. Currently I'm choosing between Paddle and FastSpring; any suggestions why should I choose one over the other?

[+] https://chess.braimax.com
What are its side effects?
On Linux, well Ubuntu in my case, ripping seem to have more friction than I was ready for last time I tried with my external drive.
Can't everyone design a better OS than the current operating systems? More features, easier to use as a user, safer, easier to write programs for it, less bugs, more compatibility, etc. I am using operating systems for years, and I have ideas how they should work on the surface.

But it will be slower, and won't have any useful software written for it, also you won't be able to use internet or your GPU. (To be fair several years ago I tried the HURD distribution ArchHurd. I just installed on it on my laptop, and by luck internet just worked, and had a firefox running so it was good.)
Plotly.js CDN Throwing 403s
What is the correct plural of "aircraft"? Genuine question as I'm not English native speaker.
This is an interesting, but older document dealing with stations going down to a couple of Hertz. The lower the frequency, the larger the antenna and therefore the station needs to be.

Currently probably the HAARP station[1] in Alaska would qualify as the largest radio station. It goes down into the 0.1 Hz range. From my limited understanding it is only possible to do so, because it basically utilizes the athmosphere itself as antenna.

[1] https://en.m.wikipedia.org/wiki/High-frequency_Active_Aurora...
Sure, but it doesn't change the fact that I don't like reading Java code and prefer Go.

I want to learn programming before becoming an expert in the language. I feel like it's easier to do using Go. In Java you have to become a bit of both to be efficient.
…we're using insane amount of code and cpu load to solve really simple problems on daily basis.

Piping programs together is almost always going to use significantly more resources than one program doing it all. More code doesn’t necessarily imply more resource usage.

Plan 9 is not an answer to every problem, but it's just impressive how much it can do with so little code.

I don’t want to be all around negative about plan 9, but I don’t see it as really solving any interesting problems. Indeed it is far easier to write slim, elegant systems when forgoing feature parity and/or competitive performance.
Amazing dedication. This is what the internet is for!
High-Frequency Active Auroral Research Program
Good name for a band, I'm thinking acid jazz?
While this post is trying to maximise the conversion of customers, I'm always drawn to how the UK's GOV.UK Design System handles these fairly common tasks: https://design-system.service.gov.uk/patterns/payment-card-d...
If you want to abstract away the legality, you abstract away the legality. Consulting provides that. Everything else involves massive legal bills and is uncompetitive.
But is micropython installed on my router (POSIX shell is)?