skysight-inc/HackerNews huggingface dataset:
That would be an excellent idea.

A Rust subset which would be type safe, memory safe and maybe even concurrency safe, but I doubt that the third is possible.
Type safety would be easy, just omit unsafe blocks.

Memory safety is being worked on for a decade, with still 75% stack overflow issues unresolved. So very advanced. But an early rust was memory-safe, so just re-add the GC.
And then you have the unsafe stdlib, which would also need at least a year to fix. But without IO (embedded) doable
Breaking the O(n)-Barrier in the Construction of Compressed Suffix Arrays
Which compiler do you work on?
Lisps incurs significant complexity as opposed to which other simpler language?
Please start with not making incorrect statements. If you mean something else than what you write, then write what you mean instead.
Good, that means it is possible to catch criminals without human victims.
Do you trust YT to decide for you what is nonsense and what is not? I do not, and I think I could make a pretty good case as to why not.
The data presented suggest that poor, uneducated (innumerate) populations of consumers try to find most of what they need at one store and do not calculate price per unit (PPU).

Or if the poor are aware of PPU disadvantages, they have a sense that shopping elsewhere isn't worth spending more time and energy.

So the $DiscountFranchise just needs to be able to locate itself as close as possible to the socioeconomic-target population.
Two real world examples I built:

1. In Rust I have a type named OnewayLess that insists it has equivalence (implements the Eq trait) and is totally ordered (implements the Ord trait), yet, in defiance of reason, it also insists that any of its members are less than anything when asked, even themselves.

This is incoherent nonsense, but it's safe under Rust. Rust promises that even though I am clearly a lunatic who doesn't understand what equivalence and ordering mean, my programs do not have Undefined Behaviour. If I try to sort a vector of this type, that won't reformat my hard disk, or more practically change unrelated data in the program. However, it very well might take forever (the sort keeps looking for the smallest object and never finds it) or run out of memory (the sort might try to keep references to the infinitely many "lesser" items from the vector) and that isn't undefined, that's just consequences of my reprehensible type design.

2. In our RDF storage engine written in C an older version contained a mistake in which an array of temporary pointers might get partially overwritten.

In C there is no safety checking, these are raw memory addresses, and dereferencing a pointer that now might be garbage is Undefined Behaviour so all bets are off. It could do absolutely anything. If the compiler is instead required to somehow check, when referencing them, that these are still good pointers, the performance of many C programs is ruined, even though our bug was in unrelated code.
I dislike the way that so many people have a burning desire to belittle the difficulty of what we do. The fact of the matter is that most people cannot do it, and pretending otherwise is not helpful.
A Pure HTTP/3 Alternative to MQTT-over-QUIC in Resource-Constrained IoT
In case someone wonders about Boots theory - https://samvimesbootstheory.com/
Yeah, that seems to be an error. There are more than a few claims about the effects of a ketogenic diet, but I don’t think lower fuel costs is one of em!
>>That's sometimes merited (payday loans!)

That's also a very interesting discussion to have because from what I understand, payday loans businesses exist because the alternative is worse - people who are desperate will always borrow money from someone, so it's better that they borrow from a well regulated business rather than from the "pay or we'll break your legs" kind. And then the 1000% APR is argued that it's the actual cost of risk with these loans since they default so often.
Clerky (YC S11) is hiring software engineers to modernize legal paperwork
That’s still just a property of the physical product. That’s just half the story. The important thing is keeping the production in the original region. So I want it to have the competitive advantage of the name. As a consumer I want my money to support the producers in the original location, which is easier if I know that the name means it’s produced there.

Note that zero of these arguments have anything to do with quality or whether I could even distinguish the product from one made elsewhere. That’s secondary.
BTW: there is another obstacle aside from typing issues: readability problems and similarities between operators and ordinary characters with computer fonts.

In case of manually written math equations (or LaTeX-ones) operators are easy distinguishable from arguments. They have a different sizes too.

For example, "result = axe" and "result = a×e" in many cases looks the same and, even in my browser, with font larger, than ones usually used by my colleagues, they are very hard to distinguish. Difference between "result a÷n" and "result a-b" can be spot easier, but it depends on two one-pixel dots.

Ok that was only a mumbling of malcontent - in fact we all know that we all have a sharp, young eyes and we never will be tired or distracted, I'm pretty sure of that. ;)
Exactly, the critique is that you need multiple layers, and if one fails, the R values you thought you had go out of the window. Whereas a concrete, wattle and daub etc wall will tolerate less-than-perfect fitting and maintenance. Of course if you assume construction is flawless, there will be no issues, and that’s the usual case.
> different people (probably including recipe writers) mean different things by "caramelized onions"

No, ‘caramelized onions’ is a standard term. The issue is not one of confusion.
So glad Barack Obama closed down Guantanamo and stopped the persecution of whistleblowers...oh wait
Either do efficient pagination, or convert into an already fairly well solved problem, like large file downloads, via batch exports. Batch exports just move the problem in house though.

Either way, don't rely on a continuous long running connection. You need to be able to restart or retry without starting over. That's table stakes, and it makes a resumable pure streaming API look a lot like a paginated one. The hard bit of pagination is efficient resuming, not limiting to a page size.

Efficient pagination means having enough information on each subsequent request to pick up reliably and efficiently from where you left off, e.g. using a sequentially allocated indexed ID on the root table (to which other data is joined).

Sometimes the database needs convincing to use the right index of you have joins, as DBs are generally tuned for extracting a handful of rows at a time. I've had more reliable success (over a multi-year maintenance timeline) by doing a single paginated query over a root table and doing separate queries to get the joined data, using a page of root IDs at a time for the joins. Doing the join in code also gives leeway for parallelization of the data load across cores (MySQL queries are single threaded), or even across replicas.
Show HN: This Song Plants Trees
Add this short (31 second) song to streaming playlists.

Every ~100 streams we plant a tree.
Absolutely true. But if there is something we have (failed to) learn time and time again: that way lies madness.

I'll vote with my wallet and hope to counterbalance things slightly. That's one way to ensure that there will still be alternatives when ie6/flash/whatsapp are inevitably End-of-Lifed .
> I'm not saying one is wrong and the other is right, just that there's obviously disparity.

As other replies hints at, "caramelize" is not a judgement call or varying definition; it's specific thing, a particular chemical reaction on sugar. if it hasn't happened then the onions are not "caramelised" and they actually are wrong.

https://en.wikipedia.org/wiki/Caramelization
I've recently dipped my toe into APL, and I tend to agree.

APL only really advances from lines of ASCII text to lines of Unicode text. It's still very line-oriented. If Unicode expands toward Tex/LaTeX/&c it could look a lot more like written math. Subscripts are nice, but there's more to it.

Unicode entry is so poorly supported on macOS & Windows it's really not funny. Emacs (C-x 8 ENTER) is my best bet, or Xah Lee's website &c.

If one were to design a new APL, one would be tempted to just use the few characters Apple lets you type with an Option or Command key. (and of course I can't easily type those symbols so I refer to them by six letters each—that's likely not going to change)

All APL needs though (EDIT: and really I mean any language, as long as we have common sequences), is leader key sequences. Rho is `r. To me, it always will be. The interface [1] has this down pat. We should be able to type anything in Unicode with just a few of the 104 keys. Like how T9 allows 12 buttons to type 26, &c.

The world is never going to build a 12,000-key Unicode keyboard. We're going to have to use leader sequences. Just my (beginner's) opinion.

[1] even tryapl.org/ !
Oops, typo :p
Who is offended? Building for yourself is great, but it is not an activity that is approved by the capitalists. If you didn't know that, you might not be a capitalist.
How likely is it that the prolific systemd team and tech decision makers in Linux distributions don’t have a design instinct and came up with this ball of mud full of accidental and unneeded complexity? Have you considered that there may be teams and requirements outside your current sphere of experience?
We have machines to get rid of pointless busy work.
People have voted with their wallets. They have voted that they don't care.
Do you have a link to the presentation please ?
All compilers have bugs, but I am interested in their
comparison work in the context of CompCert
On the other hand my team recent was taking about what languages we started with, and about 1/4 of us started with Basic. Seemed to recover ok!
Yes, and where to place that simplicity

A DSL is simple to use, but complexity has moved to the compiler

An assembly is complex to use, but the compiler is simple

--

Part of the answer is in expressivity -- in breaking down problems into simpler, combinable parts. Like Unix pipes or lego

But as expressivity increases, the number of combinations increases and hence complexity itself increases

At one limit atoms are the simplest unit, and programmers can combine them to create any known physical object

At the other limit, we have a one key keyboard that can only do one job and be programmed no other way

Both extremes are extremely simple in their own way, and show us that neither language expressivity, nor even language simplicity is a true savior
I was thinking about this the other day. Instead of raising prices on junk food, they are making the packaged size smaller. This might not be a bad thing in the US because of the obesity problem. Since people will be eating less unhealthy food they might save on health care costs.
It is if you want to make French Onion Soup.
We can use this same logic for cyclists.
This is China Global Television Network. It is a very reasonable assumption that its goal is to spread propaganda for the state of China. It is not doing a very good job.

The site is extremely slow to load, they should get better technicians.

The story pictures some kind of democracy, that is a fairy tale, they should get better writers.
Tibet gets its fastest bullet trains as Lhasa-Nyingchi Railway starts operations
There hasn't been a free market approach with regards to internet in the United States in any sense of the word. From municipal to federal government the market has been captured by regulations that results in many places in the United States only having one available ISP that provides broadband internet. This was pretty evident when you see Google's efforts to roll out fiber internet all around the United States being stonewalled left and right.

I will concede that even if the market were free, there'd be plenty of edge cases (a lot of last-mile infrastructure) that'd reduce access, and I think those cases are where the government can excel. But realistically it seems more likely that Starlink is going to be available sooner than any movement from local governments.
That's called a loss-leader strategy.

It's the same strategy fishermen use when they invest a small amount of money at the bait store before a fishing trip. As you said, it's a lure.

The strategy is not exclusive to dollar stores.

> Like other retailers, a dollar store's interior layout is set up so that commonly purchased staples like cleaning supplies and milk are in the back of the store. This requires shoppers to walk through other aisles, resulting in impulse buys.

So, people's thoughts and decisions are affected by what is immediately in front of their eyes, despite their considered intentions arrived at through deliberation.

We all know that's true because it happens to us, and we've all experienced forgetting something until we walk out of the house, and then returning to inside the house or room before we can remember it again. Our thoughts are significantly dependent upon our circumstances.

What's surprising is that the full impact of our non-independence of thought has not been well accounted for by philosophers who speculate about the concept of free will.
I used Champagne as an example, but the same applies to Parmesan, Feta and Västerbotten which are reginal by tradition in one case and by name in two.

What’s important to me as a consumer is I want to support the producers of the original region, not much else.
How to Increase Your Odds of Success at Whiteboard Coding Interviews
It was a Calphalon stainless steel skillet that I ruined. The bottom warped, and it never sat flush on the stove again after that.

I have used cast iron in the past, but living with people who don't know about keeping it seasoned means I come back to find it has gone through the dishwasher or been scrubbed with a brillo pad. I live near the ocean, and without the seasoning later, cast iron develops surface rust rather quickly.
I use Unicode characters in Java identifiers as much as I can get away with; I wrote a code generator that embeds all kinds of funny brackets that are ‘meaningful’ as an emergent property.

For entry I have symbols cut-and-pasted faster than most people type. Also the completion feature of the IDE works just fine.
"Chicago-style pizza" would be ok, according to the article. But not "Chicago pizza" if it wasn't really from Chicago (and if it was protected by law/treaty, which I don't think it is).

New York City feels rather like a foreign country to me, though the range-of-quality observation is indeed true everywhere in the US.
You could just shop in China yourself (AliExpress)
Is there a good full example of Closure (or languages like Closure) that deals with a complete and real-world data-intensive problem (eg. order processing system) that I can go through to see how languages like Closure embody this simplicity philosophy against the backdrop of the existing Java/C# paradigm?
Observing containers with the three pillars of observability
Sometimes, paying attention means we see the world less clearly
The audio recordings of Assange calling the state department warning them about this decryption key issue was released by PV last year. Assange was literally doing the right thing by warning them that someone else was going to release unredacted files and they should be aware of it. Assange was trying to prevent any harm but the state department ignored it.
https://www.amazon.com/Coders-Work-Reflections-Craft-Program...

Coder’s At Work is a collection interviews with several brilliant programmers. This book gave me confidence during a time where I didn’t have much. My main take away was that every programmer was different and have different values. There was no archetype, it destroys the notion of identity (all programmers are this, went to this school, care about these things, are good at this, wear hoodies, etc). Must read.
They face huge political opposition because rich people have the means to create that opposition (through all sorts of mechanisms from bribery on the one extreme to subtly influencing popular media to create the perception that wealth accumulation is a virtue on the other extreme).

That means that any policy at all that effectively solves the problem will face opposition - or in other words, if your proposed policy somehow doesn't face opposition, it means the rich families have figured out a loophole in it that lets them keep their money and power.

You have to figure out either a way to get this done despite opposition or a way to break their ability to effectively create opposition.
I'm confused. What do safety measures have to do with whether something actually works? You can have a table saw that both works and kills people.
Whenever these discussions of systemd come up, I am reminded of this talk[0].

It will be interesting to see if one day a replacement for systemd comes along and people who once championed systemd will begin to use the arguments the people who do not prefer systemd use to defend their choices for not wanting to use the next init system manager.

[0]: https://youtu.be/o_AIw9bGogo
Well, in a sense it is plaintext as your data are kept in simple divs within the html file - just open it in notepad and all your data is there!
I had a similar reaction to that sentence. A very good reminder that WFH can be disadvantageous to this type of creative cross-polination.
> I often keep a collection of older versions and different patch levels in my home directory.

And they are obviously going to work because you’ve satisfied all the main OpenJDK dependencies through the install with your package-manager.

If you repeat your own scenario with the .NET SDK instead, you will have the exact same experience.
In the post I replied to, Userbinator gave a specific example of a case where this compiler defines explicitly what does happen when a specific type of UB does occur.

In these cases, it is important to distinguish between what the standard defines, and what the implementation does. The standard says, in effect, that we cannot assume any specific outcome from UB, but in any particular case in a specific implementation, something definite (and often deterministic, though context-dependent) will happen. This, of course, is often a source of problems, when programmers know (or think they know) what will happen, and depend on it.
At some point APRs really stop making sense for two-week loans. It's easier to understand what people pay in three parts: processing costs, a risk premium, and the lender's margin. Fordham Journal of Corporate & Financial Law estimated the margin at 3.75%.

The argument against payday lenders is a paternalistic one with moralistic overtones, with all the potential flaws that might entail.
The Tower of Babel. If the source code is proprietary or for education then it doesn't matter, but for the open source world it'd mean division onto multiple different languages where no one can understand and learn from each other. No one is going to learn 5 different alphabets and 12 different languages just so they can understand the source code.
Don't Give Up (2016)
I don’t understand this article. A lot of the recipes don’t require caramelized onions. They simply require onions that are slightly browned.

For example, Indian cooking almost never (never?) caramelizes onions. The Rogan gosht recipe is almost certainly looking for fried onions.
Yeah, it even gets the undefined behavior right.
Of course. But what do you mean to say?

Do, for example, try to suggest that Unilever or Nestlé sells as much "parmesan" in Europe as Kraft sells in the US? (I mention parmesan and Kraft because the article does — feel free to substitute any other product/conglomerate pair.)
One way to speed up onion caramelization is to add a pinch of baking soda.

Changes the consistency a bit. Becomes a sorta brown-onion-jelly.

But it's good. And you end up with more of the final product.
Oh I don't disagree with you!

My purpose was not to suggest you were wrong, just present my experience and thoughts about why it's become so widely used _despite_ the issues you've raised.

I think people overcome the awkward UI because of the perceived benefits of the platform verses alternatives. That has certainly been my experience, which I appreciate is a single data point.
Sure, and wait a month for an empty box to show up
Ask HN: What're heat also electrical resistive materials for fabric constituents
I was once offered a bottle of California "Port". I have nothing against them making the stuff, and I'm even willing to admit that some people will like it. However, Port it was not. In fact it was further from Port than many other old-world fortified wines I know.

If Madeira, Jerez or Malaga didn't feel the need to name their wines "Port" (and they shouldn't because they can certainly stand on their own!) I don't see why California producers shouldn't come up with their own designation and see how it fares in the market.
You're right, I encountered this issue as well a few years ago. However, this has changed recently. S3 now offers strong consistency https://aws.amazon.com/s3/consistency/
Please consider an iOS version even if it’s just a reminder app. I have too many other thoughts on my mind and I need to remember to reach out to people.
Making geospatial joins interactive at scale
The thing is, not everyone has your keyboard, and not everyone speaks your language. Having languages support unicode doesn't mean your project must be written using non-ascii characters, it means other people's projects can be.
Yes I think they systematically reported it, and explained that their work was beneficial to all C compilers as a consequence.

They did not fix them though, that would have needed a team 10x larger
Go and run around city looking for some widget. You will spend more on fuel/public transport.
It looks like a very specialized question. What are you trying to make?
I thought it was encompass in « more than the sum of its part ».
The milk is core, the process is key, the conservation and timing is deceptively important.

You might feed the same breed of cow the same altitude grass, at the same season… and still end up with a different product.

But I see your point, and I think it’s a reasonable one. It’s possible to duplicate a cheese making process and be successful ( or wine: California comes to mind )

But that might be tricky, and maybe i don’t want to be disappointed so I will go with the Geographical indicators label. It’s a safe bet.

A sister response to my earlier comment bring a good point. Sometime you want to patronize a particular region for sentimental reasons.
The UFO Trap
I think this point is underappreciated. Sometimes it definitely makes sense to pay more per unit/kg for some item for a smaller quantity if otherwise you'd be throwing out an excess
Another point that evokes the wisdom reflex:

> It took me years to realize that in truth Clojure is a philosophy. The language embodies it, the ecosystem embraces it and grows from it, you the developer eventually soak it up.

The ardent way in which some programmers promote their languages to the detriment of others is indeed like other fanaticisms. I have always thought that software development is the art of choosing the right tool for the task, not making all tasks fit my favourite tool.
> code added by others can no longer be added to the “proprietary” branch

One thing to keep in mind, if you sign over your copyright by agreeing to contribute using a Contributor License Agreement (CLA), the person or organization can take your contributions proprietary.
Most people pay a wealth tax already. Why can’t the wealthy?