skysight-inc/HackerNews huggingface dataset:
A shaggy dog story, but one worth (to those among us who remember the disconnectedness of the pre-smartphone world, at least?) its ~40 paragraphs.
To be fair, arrays and slices are probably uncommon enough in current code that they shouldn't get exclusive use of the [] brackets. They could just be a generic type like any other.
See this article: https://www.theregister.com/2022/09/20/rust_microsoft_c/

* Microsoft Azure's CTO says C and C++ are deprecated

* Most-loved language in StackOverflow dev survey for 7 years running

* Now in the Linux kernel

Sounds like success to me.
Makes one wonder if there are models that rely on loops.
> It will be the greatest wealth transfer humanity has ever seen and it won't require any violence or coercion.

Of course, wealth transfer from the poor rubes to the rich fools.
> I don’t see how a headset with only 4K per eye can possibly simulate a virtual display with the field-of-view size and can’t-perceive-the-individual-pixels “retina” quality of a Studio Display. At your desk, I can’t imagine how wearing a headset would be better than sitting in front of a Studio Display. When travelling — even if your “travel” is no farther than your couch or the local coffee shop — it doesn’t seem worthwhile to wear a headset when your MacBook already has an excellent display, even if only 13 inches. Perhaps I simply lack imagination in this regard, and the experience will be far more compelling than I think it would be.

You have to literally "think outside the box" and realize that you won't be looking at extra monitors, but that each application window can be like its on screen of any size, floating wherever you want it. You aren't focusing on every window or screen at once, the detail is there when you look directly at it.

From CES 2023: https://www.digilens.com/argo/ I think we will have smart glasses by the end of the decade, considering this and the Hololens 2
This is the biggest online retailer in Switzerland, and they got to this position by being the most trustworthy. People will pay a small premium over other places because they know it will always arrive in good condition, quickly, with accurate descriptions and easy returns. There are also physical locations you can go to for pickup, returns, etc. if you need a person to speak to.
> Although I will concede that naive approach to both of those is sub-optimal.

Paradoxically, this can actually lead to a better understanding of how to write performant code. When I first learned some of the be implementation details of python, I couldn't believe it was performant enough to work for anything ... after optimizing enough of it, I understand better what actually matters
Enso (YC S21) Is Hiring TypeScript Developer
"There will be rich debates about the socioeconomic implications of Helvetica Light, and at some point, you will have to decide whether serifs are daring statements of modernity, or tools of hegemonic oppression that implicitly support feudalism and illiteracy."

The State Department has banned the use of Times New Roman and mandated Calibri in its stead, because serifed fonts are oppressive to people with reading or vision problems.

Mickens is a Goddamned prophet.
Bayes Rule in Odds Form
I just bought it, the microphone doesn’t seem to do a lot (and I don’t gave access to camera) but I will try it out later.

It’s a well thought app. The core function is really good, I will enjoy trying out the different exercises! The design of the homescreen could be better, looks a bit cluttered.

Maybe some background information if it takes off in the future would be nice for people who don’t know the science behind each breath type.

Other than that, I wish you success!
I also miss having a crowd looking at what you do. Some would cheer, others would try and get you killed. Practically grew up at the arcades.
Zoom is OK because of extra functionality but I tend to avoid Electron apps which are just launchers for the webapp. At that point, you are just running a separate Chromium instance for every app. Just create a PWA or shortcut if you want an app window-like look.
I can't seem to load any of these WAV files; any mirrors?
https://samplab.com is doing something like that.
Rust is used in production by many high profile companies. You almost certainly are running Rust code, or interfacing with something that does, in your daily life.
Not sure why you're so antagonistic. I don't know you or how you live your life, but as an unsolicited advice, perhaps you could have a moment of introspection. Cheers!
I do see fundamental reasons. Haskell was designed from conception to be a platform for research and education. I’d say it was a wild success at those two things. Certain decisions that made it successful as a platform for research and education make it less suitable for use writing applications in industry.

The main decision I am thinking about is lazy evaluation. Lazy evaluation forces authors to write pure code, which drove Haskell’s community to build libraries that expressed effects in the type system, which made things like STM possible. If I wanted to design a Haskell-like for industry use, I would give it non-lazy evaluation (I’m not gonna say “strict” because I think the compiler should be free to omit the evaluation of any expression, but it sure would be convenient if we had more predictable performance characteristics).

I’m also not saying that you can’t use Haskell in industry. Obviously, people do that.
Ask HN: React UI Frameworks
I can’t get my hands on a beautiful UI framework I saw in one Show HN project few months ago. It is not part of https://github.com/brillout/awesome-react-components#ui-frameworks nor https://github.com/enaqx/awesome-react#react-component-libraries. Do you know any nice UI frameworks / component libraries which are not one of :

AgnosticUI
ant-design
atlaskit
base web
baseweb
blueprint
bumbag-ui
carbon
cdbreactwebsites and web apps.
chakra-ui
ChatUI
CoreUI for React
eui
evergreen
flowbite-react
Fluent UI
geist-ui
gestalt
grommet
Mantine
orbit
primereact
radix-ui
react-bootstrap
react-bulma
react-foundation
react-spectrumexperiences
reactstrap
reakit
rebass
ring-ui
rsuite
searchkit
semantic-ui-react
semi-design
shineoutetc
trunx
It looks like a cool place but they don't seem to list which dinosaurs they have on display. I was lucky enough to see an amargasaurus skeleton on exhibit in North America and I'd still like to make it to Australia some time to check out their triceratops (https://www.cnn.com/2022/03/20/world/horridus-triceratops-sk...).
> By the time you add all the whitening and that sort of thing to make those problems go away I'm not sure how the information theory proofs hold up.

Why wouldn't the information theory proofs hold up?

Fun puzzle: Suppose I give you coin you can flip with some bias (weight). Maybe 75% of coin flips are heads. Maybe its 65%. You don't know.

You want to generate a sequence of bits with uniform randomness (exactly 50%). Without first sampling the coin & calculating the bias, how do you generate the uniform sequence of bits?

The answer to that puzzle would probably work fine for your theoretical one time pad.

Also, in practice I suspect most of the obvious ways your random noise circuit could be broken could be detected using statistical methods. You can't use math to prove a random number generator is truly random. But you can certainly detect a lot of common failure modes of "random" number sources.
Yeah, I assumed as much that's why I asked.

Your top comment implied that it's a norm in the EU. It is not. It's very much retailer-specific.
A large language model running on x86 absolutely can. Well, maybe not by osmosis, but OCR is very much a thing.
A thing that uses amazing amounts of complexity and energy to solve what are 99.9% of the time trivial problems?
I guess they didn’t explore a Haskell (or a Lisp, Prolog (which always surprises me by looking so clean that you don’t think anything can be going on), Python, Pascal etc) style because it scares c/c++ programmers generally. And then they would have to fight harder for adoption than they had to now.

Personally I think many styles, like the Haskell-y you show here, would be far more pleasing on the eye; luckily we live in a time where it is not too hard to create either a different compiler frontend, or, easier, a translator (transpiler, but I don’t like the word as it only translates, hence it takes too much credit being called transpiler).
Running Pi-Hole on a shared network with it "forced" (by default) upon all users of that network is really a dick move considering it easily breaks tons of websites that you'll never even realize are breaking for other users on the network as they very often don't realize Pi-Hole is the reason for the site breakage, so they don't even think to ask the network admin to fix it.

Don't get me wrong, I like Pi-Hole and similar solutions, but I'd never auto-opt anyone else's devices on my network into using it for the reason stated above along with the huge invasion of privacy it represents unless you have both logging disabled and IP anonymization activated, but on a small network that is still really no privacy at all.

Just my two cents. Think about it.
I used to interview people for data science roles. We let people use whatever language they wanted in the interview. I expected to see a split between Python and R, but the reality was that almost everyone used Python, which was a bit of a surprise.

It's even more surprising to me given that Pandas is such a poorly designed library. (Apparently the guy who developed it was learning Python while he was writing Pandas.) I saw candidates make mistakes due to quirks in Pandas often. And quirks can be extra deadly with data science code: https://news.ycombinator.com/item?id=33797339 So overall it's a weird situation. I think a big factor is that a lot of data scientists are newbie programmers who are just piling in to what's popular & established.
Second this, and it is good for all ages with a nice variety of exercises. My daughter (17) was both entertained by the challenges, mini-games, and topping previous scores. We also have a boxing game that is beat/rhythm based called fitness boxing 2: rhythm and exercise. This can also be done with two players, so it can get competitive. The downside to these games is the overly cheery/chatty characters can grate after a while, as the dialogue can get a bit repetitive.
“Permissive” provided the code is attributed, which the products you advocate for do not do.
These ones? https://killedbygoogle.com/
A layman's guide to projection in videogames (2009)
If you need coffee to literally stay alive, you might be consuming it a tad too much ;)
Imports in Nim (2019)
Mockito 5.0.0 Released
> All JS programs are also TS programs, but not vice versa. There's more JS programs in the world than TS programs.

I think you are confusing terminology, because those two statements are contradictory.
What's a "true mainstream language"?
I’m not one of those elites. So I would not know what the real forecast is.

I’m just stating a hypothesis on the perspective of, say such CEO’s. To them it’s not pack behavior based on hearsay.
It's the corporate equivalent of "thoughts and prayers".
This statement is a verifiable lie.

1. There's no such thing as PWA. There are a dozen or more standards, and everyone selects a different set of them to pretend they are oh so crucial.

2. Safari has supported the vast majority of standards that even Google deems as crucial for PWAs

3. Many of the "standards" some people on HN want are Chrome-only non-standards that are also opposed by Firefox

4. Actual people couldn't care less about PWAs because: https://news.ycombinator.com/item?id=34517503
But sex does not make you feel less lonely.
A good stack IMO has the fewest moving parts possible.

JAMstack for the frontend served via cdn

Terse STATELESS apis on the backend likely in Go on a managed k8s cluster

DB choice depends on requirements for the app IMO if its data that needs to consistently persist put it in a relational DB like maria or postgres. If the data is short lived let it hit mongo or otherwise.

To be completely honest though with current tooling you could do an e2ee local sqlite database and store it in an S3 bucket using a guid per user.
-- Media --

https://en.wikipedia.org/wiki/Smell-O-Vision

https://en.wikipedia.org/wiki/MiniDisc

Toshiba Twin S-VHS changer https://youtu.be/aEEYuJw7vFk

https://en.wikipedia.org/wiki/HitClips

https://en.wikipedia.org/wiki/Pocket_Rockers

0.85" / 22 mm HDD used in MP3 players

https://web.archive.org/web/20120718025547/http://www.toshib...

-- Computing peripherals --

https://en.wikipedia.org/wiki/CueCat

https://www.computinghistory.org.uk/det/12416/Logitech-Cyber...

-- Alternative computers --

https://en.wikipedia.org/wiki/Amiga_500

https://en.wikipedia.org/wiki/IBM_PCjr

-- Electronics --

https://en.wikipedia.org/wiki/Capsela

https://en.wikipedia.org/wiki/Heathkit

Grandparents had a Heathkit TV like this with an ultrasonic remote that could also be controlled by jingling keys:

https://www.nostalgickitscentral.com/heath/products/tv/gr250...

== Of course ==

Grandpa's Polaroid 350

https://en.wikipedia.org/wiki/Polaroid_Corporation#/media/Fi...
Sure, but then why if:

-13 \equiv 5 \pmod 3

it is the case that:

> -13 % 3 === 5 % 3
false

I think it's better to use a convention where for all a, b, m, if a and b are congruent mod m, then a%m === b%m
Looks slick! One minor bug (or feature?) is that the homepage doesn’t start at the top; the center of the viewport is “Japanese green teas are […].” I can scroll to the top after it has loaded, but that seems a bit odd. This is on my iPhone.
I agree that it should both be legislated, and substantially different to human learning. In the US (or UK) however, most legislators are such intellectual lightweights that they have no hope of grasping even the basics of what they are legislating.
When I first tried to join the Ivory beta (after they announced new slots on a particular time), the ~1000 slots were gone in 12 SECONDS. It's on the App Store now by the way.
We deploy 20km up. We spoke with people at Project Loon and the only orgs that are in that space is the military and they don't want you to know they're up there.
And what specific employees are unnecessary, which you feel qualified to fire?
Worth a mention: https://turingcomplete.game
I've played for a few hours, it's well made!
It looks like the companies laying people off were the ones wanting staff back at the office.
The author clearly doesn’t have a clue what Bitcoin is about.
Fuchsia is (was?) a long term investment, so would be expected to not be directly profitable for a long time.

The core problem I guess is that it suffers from an inability to partially migrate to it. This is a common problem that many people fail to understand actually matters. For example, we know rust is a safer language than C and C++, and so people say "all should be rewritten in rust", but rust is designed with no intent or plan to support partial migration. What that means is that even Mozilla - who created rust specifically for gecko - has been unable to replace the bulk of their code with rust: they can only replace entire large subsections at a time, which is harder, riskier, and as a result slower. Fuchsia's (I guess Zircon's) adoption is hindered because the objectively superior security model also meant that none of the infrastructure around the linux kernel say could work with it, so feature parity required at best significant porting, but frequently complete rewrites of large swathes of the surround infra. e.g. porting android to zircon (the fuchsia kernel) would require significant rewriting of the existing code bases, and the time spent doing that is not time spent adding shiny new features and animations (or chat programs?). Apple is generally much more pragmatic which is why Swift had such good objc and C interop from day 1, and why real C++ interop is something it's working on: if fixing C++ projects can only be done by all-at-once complete rewrites you basically ensure the C++ will live forever - rewriting a file at a time however is much more achievable, which is personally what I want (as for Swift vs rust I'm on the fence I like different parts of both, and also c++ :D).
PG's takes are pretty good by Twitter standards at least. Honestly his account is one of my favorites on Twitter. If you don't think his tweets are good, I'm genuinely curious whose tweets you actually like -- can you recommend any accounts?
IEEE publications only have something to publish and only have reviewers because public institutions are allowed to publish to them, and allow to do free labour (paper review is unpaid).
"Driver assist" not FSD
How does this compare to what you get from one of the csprngs in rust's rand crate? I'm not sure when I'd use this.

https://rust-random.github.io/book/guide-rngs.html#cryptogra...
They didn't: https://news.ycombinator.com/item?id=34543451

PWAs were never alive to begin with.

If they were there would be amazing world-shattering and paradigm-changing PWAs on Android which holds 71% of worldwide market share.

Oh wait. There are still none. For reasons obvious to anyone: https://news.ycombinator.com/item?id=34517503
You committed financial suicide by believing a conman
Also people seem to forget the rule of premature optimization. Worry about performance when performance starts to be a problem. You identify the area with performance is lacking and optimize that. Compute is cheap, manpower is expensive.
At worst, this produces better output than some university students sitting a written assessment!
To be fair, blog posts based on anecdotal evidence hit the frontpage on HN all the time. I think you're implicitly holding PG to a higher standard.

Then again, maybe he's asking for it, given that he calls his blog posts "essays". Lol.
> Somehow people around here in the balkans have been getting the feeling that pretty much every thing every EU country did in the last year, has been favorable to US and detrimental to european citizens... Be it Scholz, Macron, ursula, etc. Whatever move they do, people of europe lose, and US gains something.

Considering the last year includes the announcement of the Digital Markets and Services Acts, which will heavy hurt big oligopolistic companies by forcing them to be interoperable, and most of those are American, that's a weird take and the only explanation i can find is shitty media consumption blaming the US for Russia's invasion of Ukraine.
While IBM Cloud doesn't provide a good experience for Windows workloads, for UNIX and mainframes, it is quite alright.
It's quite different incentive when you play for free - why waste your time dodging shots when you can fight but if you were playing in an arcade, some players might try and prolong the experience and enjoy the challenge of evading shots.
Why WhatsApp Only Needs 50 Engineers for Its 900M Users (2015)
This is a fascinating line of emails. I am somewhat astounded of how terribly Mike handled the sportsmanship side of things -- what was he threatening to sue over, anyways? Someone who successfully paid him $100 and had respectfully inquired for the prize?

I do not handle people who act in such a volatile and aggressive manner well, especially if so spontaneously. I appreciate Patrick for having good sportsmanship, keeping the situation calm, not re-engaging, then publishing the exchange for everyone to see.

I recently had an exchange like this where someone blew up at me in a very toxic manner over a text-based medium, and having the messages saved certainly helped from an accountability standpoint.

Thank you again for sharing this anecdote, it was very interesting.
Apple's buyback program probably has no equal, it's a sight to behold which demonstrates the power of sustained share repurchases. Sure, there are the Teledyne stories, but to do it at this scale is something else.

https://www.macrotrends.net/stocks/charts/AAPL/apple/shares-...
>Apparently the guy who developed it was learning Python while he was writing Pandas

This makes a lot of sense. I remember trying to learn Pandas before v0.24 and finding the syntax changing a lot between versions which just confused me even more. I later learnt some R and was blown away by how easy tidyverse, and even base R data.frames were to use.
If you're doing casting its probably a code smell and good indicator of something being off, or you're doing something too exotic. I'd say this applies a good amount to normal compiled languages too.

To do types well, I'd recommend constraining as much as possible. E.g. if a library gives you a union of 5 possible return types, just type it as one of them that you know you'll get and don't let that "complexity" propagate further into your code base. Likewise if you're wrapping a lib function that can take 3 levels worth of complex union or umpteen varargs, don't let that bleed through in your function signature "just in case".

And most crucial advice. Don't use Google's type checker pytypes. Or any other type checker for that matter other than Pycharms built-in one and mypy. Don't faff about with vscode either. Pycharm will make your python type hinting journey a pleasant experience (barring some generics and OOP corner case scenarios.)
I try to eat less calories than I burn.

I don't own car and everywhere walk or take public transport, even to groceries with backpack on my back. Though I work from home so not much movement besides walking kid to school and ocassional grocery 2-3 times a week plus some walks on weekend. My current BMI is around 19.9.

I am trying to do my very short daily routine of various moves (like 15 pushups, 15 squats, 22 pushups against the wall, front/side leg kicks and other hand/neck exercides, etc.) without any equipment at home, but recently failing since I don't really see benefit (been exercising this way every day unless extremely unhealthy for like 2 years and haven't seen really any improvement in anything).

I've used some Android offline exercise app with short videos to get inspired about the moves, but later uninstalled it, don't remember name and don't use Play store, so can't find it, it was quite old app, but free and offline.

EDIT: found it, this is the one I can recommend

https://play.google.com/store/apps/details?id=com.bodyweight...
I think WebAssembly/WASI will take off if someone wraps it in a shell that supports a powerbox, with logging, debugging, and possibly undo/redo, time travel debugging, etc.

A way to run ANY random program from anywhere, and just give it a file in a safe and secure manner fills so many needs that most people can't even imagine right now.

PS: I'd have written it myself, but there's about 1000 items to check off just to get an MVP working on a PC if my survey of the standards is right. 500ish instructions, and a boatload of APIs.

PPS: I've looked at several implementations, but I don't have the familiarity with the languages they are written in to be able to dig deep into the guts and add the required code to turn the WebAssembly VM into a black box whos interface I can control. Thus, it seems I have to build my own 8(
Others that came through:

- HipChat, Campfire (Basecamp) clone

- FlowDock, which was superior to Basecamp and Slack

- Textual

- IRC

And now there's Discord, albeit for different purposes.

Workplace is an everything platform.

The problem with each tends to be distractions, discoverability, bookmarking, an app/browser performance. You really have to have a strong culture of netiquette to use any of them AND access to video conferencing to have quick meetings, because trying to do everything over chat doesn't work.
> And we didn't even talk about their sweatshops in China which has always had persistent labor-abuse issues[0]

Ah yes. Foxconn. The company that only produces products for Apple.

And Amazon

And Google

And Sony

And Google

And Microsoft

And Intel

And Fiat Chrysler

And ...

And yet, only Apple is held accountable, and only Apple publishes regular audit reports on worker conditions etc.
Fighting for Communism in Science: An Interview with Alexandra Elbakyan