skysight-inc/HackerNews huggingface dataset:
> a list with at most one element

I've found scala or even LINQ to really hammer down this point, even to those who aren't into FP very much. Doing that map/flatmap makes it click for just about anyone
> you set your status to “Hiding”. An obvious attempt to effectively shame people into using it.

Or maybe it's just a humorous take. Remember "Anonymous Coward" from Slashdot?

Not against the main take of the article though. But that has more to do with economy. On economic down turn years free sites like this start to crumble. And they take pro-monetizing user hostile steps like this.
Engineer raised concerns about 'major structural damage'
> "A square is a rectangle" means "A square is a TYPE of rectangle" (at least, that is what I am parsing it as).

In that case your former statement that 'The word "is" implies an isomorphism' seems to be wrong.
This has been common for mailing addresses: with a parsing and validation system, the site will tell the user "We think you entered ... as your address; we think your address should be this: ...", along with options to keep the original entry or use the suggestion. This has the advantage of catching mistakes, not making unusual addresses unusual, and letting the user know if the site is interpreting what they entered in a way that won't actually work (eg, leaving off something important, or ordering components badly).
You have 2 options: either your functions are recursive and you can hope and pray, or they're not and you can figure out which of your functions are the bottom of the call graph.

In those leaf functions you can check &local_var and compare it to pthread_attr_getstack(pthread_getattr_np()). (Of course that's not precise for many reasons.)

> And how do you design a program to have a deterministic maximum call stack depth?

If you're running only your code - don't use recursion, or alloca. If you use external libraries, you have to research what they do and add some extra in case of updates.

Bounded stack size is also a common issue if you're targeting small microprocessors.

For non-critical apps it should be pretty easy to figure out the needed stack size. For cases when you want to guarantee it... that gets more tricky.

Edit: just learned that clang has the option -fstack-usage which should help a lot.
> the term kosher applies directly to food, not
> technology; this is a metaphor

Kosher means "fit for purpose" and is often used for items other than food. For one example, during the Sukot holiday it is customary to erect and eat in tents. Due to shody construction and safety issues, not to mention adherence to biblical prescription of certain tent features, there exist "kosher" tents which one can buy and know that it is fit for purpose.

Source: דובר עברית
I don’t think flat design is inherently hostile. The same way I don’t think heavy skeuomorphism is inherently patronising. We went from a violent explosion of visuals to ambiguous interactive elements. Both shite, both a pain to use, both bad design. Both can be avoided within their respective philosophy.

As OP shows, iOS hinting at more content by partially showing the next item is a good example. You can very well create depth and hierarchy with minimal visual cues.

However, what has increased since flat design became the hottest shit ever (2013/2014) are downright malicious interaction patterns, no understanding of the platform (e.g button vs link), and an ever increasing lust for engagement. The design flavour is merely coincidental.
Another complication is that in glibc's implementation TLS variables come out of the same space as the per-thread stack.

As far as I can tell this is something they think in principle should be changed.

https://sourceware.org/bugzilla/show_bug.cgi?id=11787
FWIW, you can achieve row polymorphism in TypeScript, although it's not super intuitive.

function rowPolymorphic<R extends { a: number }>(record: R): R & { a: string } {
return {
...record,
a: record.a.toString(),
}
}

const rec = rowPolymorphic({
a: 123,
b: "string",
})
console.log(rec.b)
For me personally, it's having a set of UI widgets as consistent as possible with everything else on the platform as the primary concern. Secondarily it's performance / battery life.
Whatever it is. I'm using my personal stuff for business.

Companies do dodgy shit to evade income tax, one of which is spend unnecessary amounts internally to make it an expense

And they are liable for less tax.

I had to buy new furniture or use existing furniture.

Indian celebrities buy Ferrarris and mark it as depreciating asset by doing some tax magic to save taxes.

And here I am using all my personal shit for work and getting nothing in return

Not to mention company saves tons on rent, electricity and internet. And yet few firms have policies to reimburse employees.

When I work from office, I'm sitting on my dinner table and chair for less than 1hr per day. Now I sit on it for 8-9hrs. And I already had to refit that chair once. Maybe the fitting guy hadn't fit it well.
Reddit is free to squeeze every last dark pattern in order to monetize, just like we are free to stop browsing Reddit. The past few weeks have been frustrating, enough that I've almost stopped Reddit altogether. Funny though... I feel like I haven't lost anything.

As a startup community, we often talk about services being painkiller vs vitamin, or on a scale between 0 and 10 how sad would we feel if we no longer had access to a service. I've been thinking this the past few weeks, and losing Reddit has made me feel kind of meh.
Apparently they favour fucking it up several times.
Mobile browsers wipe cookies, users switch devices, multiple computers, etc.

Facebook has over a decade of data on its users, no session id will match that.

edit: Also knowing users emails will allows advertisers to match the reddit accounts to their own data stores on users.
TikTok insiders say company is tightly controlled by Chinese parent ByteDance
Chances are those CPUs have the Intel PTT which is a fully compliant TPM 2.0 module running in the Intel Management Engine firmware. AMD has a similar feature called fTPM. You should be able to enable that in the BIOS/UEFI. If there's no BIOS setting for that you may be out of luck unless HP releases an update.
What would you rather have: an object of value potentially outside your domain and an expensive boolean function saying if it's ok that you need to apply everywhere just to be sure, or a method of producing values that you know are always within your domain which you have to apply just once and no expensive boolean function?
Sure. Give me the denuvo anti-tamper and anti-cheat source code, and then we can negotiate.
> small subreddits are quite good

Sure, there is lots of decent content on it.
Most UI developers I know says that it's "reasonably pleasant", yet the is a shortage of "reasonably good" web developers on the market.
If you are just a lurker, try http://teddit.net

It works well on mobile and desktop.
I guess my point is: Not that they'd ever do this, but if the Fed were really concerned they could easily bail out tether without doing anything outside of the "norm".

> This isn't FUD, it's a call to action for communities and exchanges to start minimising their exposure to the risks that the current Tether situation poses.

This seems a fair description of your posts. It does not seem to describe the Fed governor's statement
In many ways Haskell (and other languages in the ML family) are LISP with a lot less parentheses.
What 'greater good' can possibly be achieved by having to literally write the same app 5 different times?
A small shop should just get a service like Squarespace or similar, not pay a dev.
I was looking for a simple explanation about what a Monad could be, not a mathematical theory.
Paper is still the best :p
I think it still eats up a ton (technical term) of unnecessary energy as we have moved from owning physical objects to digital copies of the same thing. For example music, video, etc. Before 2000 you only needed electricity to play content not store it. This question is : did the production of a vinyl record / cd use more electricity than a lifetime of storage of its modern day digital equivalent? Given the absence of scarcity of digital music I would hazard a guess that the number of people that can own a spotify track vs the physical track is so much greater that the energy requirements are exponentially larger.
So non-techy non-privacy conscious people do which is what they're looking to accomplish.

That's it'd be interesting in looking at their data.
Yup, flight to safety in crypto means buying BTC. Nobody needs Tether—you can get into and out of nearly any fiat currency from BTC directly.
Anyone feel like this is their Digg pivot?
Where did I say anything about humor? I think one's a joke who froths at white rage and the other is a Rhodes scholar with a PhD who obviously engages in hyperbole but is informative, and more importantly is not a Nazi.
Figma design system can be simple to use
I see where you're coming from, but Microsoft already builds an entire office sweet as native apps across 4 of the 5 platforms you enumerated.
They became less necessary over time as people got used to computers. Nearly everything on your screen right now is touchable or interactive (you can select the text in this comment) but trying to show visual accordances for all that would make the actual content harder to digest.
Why Robots Cant Be Counted on to Find Survivors in the Florida Building Collapse
Yes, that’s literally the advantage of a static type checker. I don’t dispute that. I’m just saying that the advice in the article is just as applicable in a dynamic language and confers the same benefits. True, you’re not protected against accidentally using one type where another was expected, but that’s not really the point as I see it. The point is to use better types. Types you can lean on instead instead of nervously tiptoe around.
I'm interested in a reduced feature phone for myself, strictly to reduce pressure from every bank, pharmacy, clothing store, and supermarket to install their apps. So long as it runs Ankidroid and syncs via CardDav, I'd like a phone with as few features as possible.

The problem is that _my_ two important features are different from _your_ two important features. Almost by definition, no reduced feature phone would be fit for a large audience, unless that large audience has a single common denominator. Like with this Kosher Phone and it's religious target demographic.
Exactly. The lurkers are where their growth is because they likely outnumber posters 10:1.
The true management (ie: stock holders) wants to exist at some point. There's talk of an IPO this year in which case they just want to pump up the numbers and hold things stable for another year before they can sell their stock.
Source code (WIP) for the operating system, Neotron OS: https://github.com/Neotron-Compute/Neotron-OS
Like "kill off" entire villages, right?
Just quit this marketplace of egoboosting and lonely attention junkies (almost all of them, even girls with beautiful photos).

Focus your attention on something real, meaningful, whatever it may be. Something that will fulfill you, not give some cheap dopamine to your ego.
False accusations for any crime should be punished with the same sentence that would be given to the accused if he was guilty. If you falsely acuse someone of rape, you should get the same jail time that is given to rapists.
I don't think RAM conservation is high on anyone's list of initiatives to improve the world. The resource consumption of Electron is mostly of interest to computer scientists who like to see how small and efficient they can make something. But in this case, it does not really matter.
Schrödinger's Code: Undefined behavior in theory and practice
I think GP's point was that it's doable (ie. providing native apps for all platforms), not that Telegram is a good replacement for Teams scenarios.
To repeat what I wrote elsewhere: Microsoft is looking to port Webview2 to macOS and then Linux. No timeline though.

So this will eventually also apply to macOS, yes.

https://github.com/MicrosoftEdge/WebView2Feedback/issues/131...

https://github.com/MicrosoftEdge/WebView2Feedback/issues/645
What a frightening coincidence. I came to a similar conclusion an hour ago when I've been reworking my own system.

Mine is slightly different. I use two separate browsers, one (firefox) for project/hobby focus and the other (chrome) for anything not related to project/hobby. I'm using different twitter, youtube, gmail, reddit, etc. accounts for each browser so I can still have the benefits from cookies.

Example: Using separate youtube accounts keeps programming recommendations separate from 3D modeling recommendations.

My firefox bookmark hierarchy became too large so I now throw it in a huge text file and custom tag them with metadata (I'm faster with my editor). I'll also be dumping any firefox bookmarks into a one/two level hierarchy and rely entirely on tags and the search bar, and my big text file of bookmarks.

I too use pen and paper and port them to my digital notebook. I make sure the notes are properly time stamped and contains enough information to keyword search.

Example: 2021-06-26_Blender_BlenderGuru_01.md

I use drawing programs to draw out any ideas. Some benefits are resizable canvas (if I ran out of space on paper I couldn't just resize it) and layers to organize and modify. I'm using clip studio paint because I also draw, but any drawing program like Krita would suffice.

One thing I learned was to keep information individually identifiable at all cost. I'll try to shove as much information in one line like filename or text line to maximize my search potential.
Thanks! That makes a lot of sense. I’ll have to do a deep dive this weekend.
If you have to work in an environment where stack size is very limited (typically a few KiB) you have to pay attention to certain things that you can brush away in more generous environment. In particular you need to be very careful with recursive functions and you probably want to use the heap or static storage for any object bigger than a couple dozens bytes.

But in my experience you don't really compute a "guaranteed" stack size, you use your experience and knowledge of the program to make an educated guess, and then you apply a reasonable multiplier to give you some security margin.

If you don't use (or severely limit) recursive calls you can usually just check that your deepest call stack fits within the bounds. Although finding the deepest call stack in the first place can be tricky given that compilers can aggressively inline function calls.
But I’m not talking about compilers here
Which means they know extremely well what a costly and complex process it is.
SuperMicro
There is no escaping Conway’s Law.

A disjointed company produces a disjointed product. Mind you, this might be well be a deliberate choice made by people cleverer than me.
These UI standards aren't taught any longer, so unless you grew up with the 90s, when at least first-party developers were somewhat consistent about following them, you might not even know what you're supposed to do.

I came to programming with VB6, and that was an era where even the trash "Teach Yourself Programming in 24 Hours" books made a big deal about tab order and mnemonics and cues like eclipses on buttons that launched new windows.
The share sheet on Android is super confusing.

It doesn't help that several apps implement their own, and some of them scroll horizontally while others scroll vertically.

Edit: apparently they're forcing apps to use the native share sheet in Android 12? https://www.androidpolice.com/2021/06/01/android-12-will-spe...
Yes, and people ought to consider what it means for there to be a “liquidity crisis” in crypto—in traditional markets, it means everyone calls in their short-term financing and hoards cash. What is the crypto equivalent of cash? Bitcoin.
I agree with this. Also how can they forget an option to “paste without formatting”? Copying stuff from other sources is extremely painful. At this point, I leave it as is. I don’t have time to micromanage each copy and paste.

Also teams has this arbitrary message character limit that makes it terrible for sharing large chunks of text (partial logs for example).

While the integrations with outlook (mail/scheduling) + teams works “well enough”, the experience of the app itself leaves something to be desired.
Well, you're right, but we mean different things. These voters are failing to rank their true preferences (you and I believe), which is going to lead to a less optimal outcome than if they had. But if they did rank their true preferences (i.e. they are ok with Wiley or Adams, but just at the bottom of their list), then it would be fine.

This is a valid communication problem with ranked lists, but it's not that there exists a "strategy" per se besides ranking all of your acceptable outcomes.
Because that's exactly what one looks like and that's what anyone who analyzes the image says it is?
Most of these things can just be done by using the timer that comes with every oven. I've often set the oven to come up at around 15.00 so I can cook a stew for a few hours before getting home.
The original whitepaper goes into detail about where the lock isn't necessary: https://lmax-exchange.github.io/disruptor/files/Disruptor-1....

I did this in 2011 or so, so it's been a decade. But my feelings are, "I'm quite certain that if I were to re-read the paper from start to finish, I'd end up feeling convinced of the position I just tried to convince you of."

If that's not true, then I'm simply a fool, and will happily concede. :) But! For now, I have to go look at a house that we're thinking of renting.
I mean, GP said "you can't have routers" and maybe I'm being dense by interpreting that as "never or almost never," but even with a generous "too hard to be practical," I still don't think it's correct.

And I explicitly said "escape hatch" meaning language feature. You don't need that much indirection to get routers in Haskell, Rust, Go, C, C++... like I fail to see how implementing routers are a barrier in strict type system languages.

Is it easier in python or js? Sure. can't? hardly.

E: here's some vtable dispatch (unless that doesn't count as "dynamic dispatch") in Rust. Looks really straightforward.

https://doc.rust-lang.org/1.8.0/book/trait-objects.html
Indeed - for any open-source project to accept contributions from North Korea risks opening up a minefield of problems.
Is reddit.com mobile optimized?

There's a bug where opening a post from a subreddit's main page always results in a weird border, like it's opening the post as a floating dialog.

(Just to confirm tried it logged and out, same result: https://imgur.com/a/6yK9D8V)

That results in comments being squished down to a few characters wide and many many lines long

I used to think it was a "me" bug, but it's followed me across 4 iPhones over the years!

How can they have such an experience breaking bug on one of the most homogeneous major platforms out there? iOS only has one browser engine!
~$500 per board, but then you need to add PicoPSU, passively cooled case, SATA drive, 12V PSU, 2x 16GB RAM, so about $1100 in total

Same Gflops/W but about 4x Watt so for things that cannot be distributed (like a shared MMO world in my case) it's probably as good as it gets...
As someone who switches between three platforms, I like that Electron apps are consistent and in sync. Back in the day when I was using Skype, I could never get used to either.

I don't know what Slack or Teams would look like with native UI components, but I am pretty sure I would consider it inferior to what we have at the moment. The possibly improved performance and memory footprint would be nice but not enough for me to care about.
"At least this article needs to be added to your mental list of failures of local storage to balance your news-driven bias." What a toxic comment. You are saying far more about yourself than you are of someone you don't know at all. Projection and a lot of anger/hate inside.
You might be thinking of the C64. The apple II disk controller and drives didn’t have a cpu. It was actually famous for this.
Ask HN: What's the no-code equivalent of doing sales and marketing?
No-code tools give non-technical people the ability to build stuff that normally professional developers would have to build for them.

What's the reverse of that: tools for technical people that give them the ability to do sales or marketing that normally professional sales & marketing people would have to do?

No-code tools obviously don't work for complex cases or edge cases, but they handle some subset of common cases.

Is there a sales & marketing toolkit that handles some subset of common cases, without needing to have sales & marketing skills yourself out of the gate?
And Substack. And Reddit has 10x their traffic.
The end of the web development staging server (2020)
Plenty of people know multiple statically typed and dynamic languages, and multiple functional, imperative, and other languages; and use dynamic languages for some things but not other things. The set of people using dynamic languages isn't just "those that haven't had their eyes opened yet to what static languages can do". Different languages and paradigms make different things easier.

I do believe that, for long lasting, larger projects, static typing tends to make the code easier to maintain as time goes on. But not every project is like that. In fact, not every project uses a single language. Some use statically typed languages for some parts, and dynamically typed for others (this is common in web dev).
> > not counting CLR DLLs

> Why would you exclude those in this comparison - they're already (guaranteed to be) installed on your windows targets?

Note that this is a stand-alone build; it doesn't require the runtime to be installed. With that in mind, you're right they should be included, which would increase the build size by 8.3 MB.

> How about linux/Mac targets?

I can't build a Mac target because I don't have a Mac. I just built for a linux-x64 target in WSL, and the resulting binary is 35.0 MB. The Linux build looks like it's packaged the CLR into the main binary instead of keeping them separate, which would account for the greater size.

I did do a benchmark with hyperfine, which gave a 25.5 second build time. However, this is on WSL1 building off and on to an NTFS drive, which has known performance issues.

> I think 20-30MB is quite good - puts it in the ballbark of golang.

I've never used Go, but my understanding is that the Go compiler is very fast but doesn't do as much in the way of optimizations. If that's the case, having a larger and slower binary compared to Rust would be expected before you get to the packaged runtime.

The issue I'm taking here is that doing a trimmed dotnet build is (in this case) giving the same build time as Rust, but is only doing some AoT compilation and dead-code elimination. Rust is already doing that in addition to a whole host of other optimizations.

From a user perspective, this feels like dotnet is giving me a worse end product for the same time taken. Especially given the Rust version wasn't harder to write than the C# version (in fact, due to bad documentation the C# version was harder).

> 2MB+ for rust actually sounds a bit big -that's stripped?

No, that is not stripped, and with the standard release profile.
Sounds like a category error. Regions vs. continents.
What happens if someone rapes me, and I accuse him, but then cannot provide enough evidence? Do I end up in prison?
Perhaps the effort/reward they get from office release does not apply to a freemium chat service that’s constantly updating?