skysight-inc/HackerNews huggingface dataset:
So yeah in that case I would do Incremental Static Regeneration but don’t pass all your product paths at build time. Instead you can use the fallback mechanism to render individual product pages on request, but then serve the result statically thereafter. That way you don’t build tons of pages at build time that people may not view anyway, but the pages that do get views will stay fresh and fast.

If you were using your own Lambda you could set a minimum reserved concurrency to avoid cold starts, but I don’t think Vercel gives you that level of control. The main thing to do is try to serve as much statically as possible so that it reads straight from the CDN cache or static file store and that way it never hits your Lambda on requests.

With ISR the Lambda updates the rendered file in the background, rather than in response to a request (generally), and the user is just served the last generated render. So in that scenario the Lambda latency is taken out of the equation.

If you know which products are most important you could also render a subset of them at build time and let the fallback handle the long tail ones.
And 20k containers. I guess they don't have to offload all of them, but still it is hard to imagine numbers this large.
A custom-made cassette reading peripheral card in every slot, and eight cassette players running in parallel at high speed?
ouch I can't stop thinking now about how much cost gets imposed on the economy by habits like this established in higher education - I built my original business with very few formally qualified people who included a large proportion of the most experienced and professionally qualified individuals including several with multinational boardroom careers in F500s. we didn't have the culture to tolerate games like holding up a floating licence (of which licence a lot of critical software used) and we weren't the generation raised with computers by a few distant, but hearing this both makes perfect sense that it might be prevalent and simultaneously is thoroughly unnerving me about how strongly I might react on encountering the same if my present venture gets going.
Don't worry, there's a guy digging it out :)

https://twitter.com/SuezDiggerGuy
I'm not even commenting and enjoying reading these ideas.
No, it's because it takes more luck, talent isn't enough. Imaging you have a normal distribution on talent, and a uniform distribution on luck. Lets say the ranking process incorporates 95% talent and 5% luck. So you have a final score of 0.95talent+ 0.05luck.

In a field with millions of people, to be at the top 100, you not only have to have a lot of talent, but you also have to have a lot of luck. It's not enough to just have talent.

Because if you have the top talent but no luck, in a million people you would be ranked at 50,000 because 95% of the selection process considers merit, the other 5% is luck. To be in the top 100, you would need to be very talented and be in the top 1% of lucky people.

With different talent/luck ratios the numbers obviously change, but even in a system where you are 95% merit based, luck still plays a HUGE role to be at the very top.

It's math.

And keep in mind there are billions of people in this world. Programming alone has millions of people.
Not so much “intuitive“, much closer to “familiar”. I don’t expect an API doc tool (or any useful/powerful dev tool) to be zero learning curve, but I don’t want my team climbing 2 or 3 different learning curves unnecessarily.

But yeah, totally right on the “feeling at home” idea.
Crashing is fine. Continuing with unknown behavior is bad. With rust you might find some obscure bug which lets you crash the software and then docker/k8s/systemd will restart it automatically. The worst you could do is spam the bug and dos the server. But at least no user data is compromised.
Taiwan, for example, definitely DID ramp up mask production immediately after understanding COVID-19's threat.

https://www.taiwannews.com.tw/en/news/3924318

The government there commissioned a "national mask team" task force... so there is some credence to the "poor governance" argument in the US.
Yeah, Alan Kay once likened OOP to biology saying the ultimate embodiment is replicating “messages” between cells.

Once I heard that, it makes natural sense that Combine became a first class library in Swift, giving the code base ion channels so that messages just aren’t sprayed everywhere with NotificationCenter or requiring you to name each individual “protein/hormone” message in your program.
African elephants face growing risk of extinction – Red List
I wasn’t replying to you to be clear, it was a general statement.

However your characterization of his comments wrt Minksy does make me question your credibility. If you couldn’t honestly characterize them, it is more likely that you could be equally disingenuous in recounting “independent allegations”.
>Adding additional words to English may be required
Nope, nobody should bow to crazy people and their bullshit.
You are either he or she. Period.
It's my backup username discovered when I was 10 or so, and I wanted something that wasn't my name and would be available everywhere.
I was being semi-facetious, but now I see that a bunch of people seem to be suggesting that in all seriousness. Poe's Law strikes again.
> now they are losing a competitive advantage

I don't think they're doing anything out of ideological reasons. Their bonuses and compensation is always tied to their competitive performance. I am sure the higher-ups weighed the potential loss of competitive advantage when making the decision, and given their successful track record, I am inclined to believe it's not going to be as bad as the article is portraying it.
I wasn’t really looking for a “solution” so much as understanding the history. Imagine a family with multiple children and an amount of money below what you would consider problematic ($50 million? $10 million? $1 million?).

The video seemed to imply that it is a “tradition” (maybe that is not the right word) in Europe, going back many hundreds of years or more, that one of the children is chosen to get the vast majority of the estate and is raised and trained so that he or she is ready to take it on when the time comes.

I did a little bit of web searching and came up empty. My focus is on the point of view of the children that do not inherit and what becomes of them.
summary: people suck
Open source Heroku Like Platform on premises
I think it was a more mercenary decision than (just) that: Consuming content in that method left fewer options for monetization through ads. There would be many fewer searches: right now, instead of actually typing the address bar, getting to a website for many people involves a google search as they type it into the address bar, see the results, and click on the site instead of going there directly. I'm sure they would have figured it out, but it probably wasn't a problem they were very interested in solving when they could just kill the product.
Well yeah because git is, I find, good enough that I don’t have much desire to experiment with other SCM tools. Some people love customizing every part of their tool chain but to me it’s better to stick with something familiar with things like that so I can focus on solving my actual problem.
On the same topic, this is an excellent read: https://www.wired.com/2008/02/ff-seacowboys/
A bunch of these objections are incorrect, or at a minimum apply only to certain implementations of OOP (both from an organizational and linguistic perspective).

"Everything has to be an object" is only true in some languages, and even then it's a questionable claim. If I have a Java class that has public data members only, how is that materially different from a data structure?

"Data type definitions are spread out all over the place" Again, a questionable assertion. It's plenty easy to define all your data types in one package or header file in Java or C++. Some folks choose not to organize it that way, but that's a different and substantially weaker objection.

"Objects have private state" Unless you want all parts of your system to be able to depend on the internal state of all other parts of your system, some kind of state access control is going to be necessary. I'm not aware of any system, OOP or not, where the internal details of, e.g., the Mutex datatype are available for inspection. This is private state by a different name.

"Why was OO popular?" I have a simpler explanation. For many years, the most performant unmanaged language with something even close to resembling a strong or useful type system was primarily an OO language (C++). There were no close competitors. And the fastest managed language was also an OO language (Java). I also deny the proposition that OO is materially harder to learn than other paradigms, supposing you want to learn in those other paradigms how to do the sorts of things that come built-in in OO languages.
The problem is lying about why a company is taking an action. A lie by omission is still a lie. How do you "Earn Trust" with your employees by taking this action and meeting their concerns with silence? If you think unions are going to be the death of your company then make your case and state when a change is intended to inhibit union organizing. Thats not whats happening according to the article. Is lying standard in all big organizations, and more importantly should it be?
You may be interested in chapter 8, Genetic Programming applied to BTs
The Mi-26 is still in production, so you could replace them with brand new ones outright.
Oakland launches guaranteed pay plan for low-income people
I'm definetly not the same guy from whatever thread you're remembering.

I just feel like the new license doesn't take away any of the freedoms I care about, the source is open, I can run and modify it without issue. I can even run it on a AWS instance. I want more open source companies to figure out sustainable business models so we can have more open source software. Amazon taking all open source revenue streams will lead to less open source software.

I feel like OSI plays all these word games that are in bad faith, calling SSPL "proprietary" which is just wrong.

How do you know that for "the vast majority of readers" open source means exactly the 11 point definition that OSDI came up with?

(I realize that by replying I'll probably garner another -4 HN points, but I'm willing to spend the karma since you said it was a genuine question.)
Warrior Artist
Documents Show Amazon Is Aware Drivers Pee in Bottles
Yes since the salinity transfer from the canal into the Mediterranean Sea is already enough to make species from the Red Sea colonize the east Mediterranean. The Aswan dam reduced further the amount of freshwater coming to the area. So I would guess adding more salt wouldn’t be too good for the eastern Mediterranean.
Wow, costs $300K to transit through the canal per ship by fee alone? That is capital intensive.

It's amazing that more ships are not simply sailing around Africa.
Money can do very little here. The problem is, the solution probably requires rather heavy equipment. Like floating cranes to unload the containers or giant excavators. This equipment exists and the costs for doing the operations would be miniscule compared to the costs of the blocked channel. But the problem is moving such equipment to Egypt. These floating cranes might be in the Netherlands right now and the only way to get them to Suez is to drive them there at perhaps 20kph. So it could take like 2 weeks at minimum to get the equipment there. This is a very fundamental problem. Transport by road or railroad still would take like a week but is limited to things which are not much larger than containers and the maximum weight a helicopter can lift is like 10 tons. The largest aircraft can lift over 300 tons but only as long as the freight fits into the aircraft. Oh, and there is only one of it :p. So anything larger has to literally shipped to the location. The only good news is, the site is reachable by oceangoing vessels :)

So there are two fundamental challenges:

- come up with a good plan how to get the ship out of there

- transport the necessary equipment quickly to the site. This step can easily take weeks.
Very - there's another thread discussing this. Big ships need a lot of room to turn, so the bypass lane would need to be really long.
There is no such "do wtf you want" license. The ARM architectural license allows licensees (like Apple, Cavium, Samsung, and others) to implement CPUs that comply with the architecture. Some things are off-limits, like custom instructions. Apple broke those rules. They probably got away with doing that as a "special exception" under the understanding that they were doing so for "embedded" use cases, i.e. iOS devices that will only ever run iOS, but now that their designs are in an open platform (M1), things have changed, and ARM is not happy.
While Allman style can be very pleasing, it requires the right language, as certain language features will make it off putting to see it used in some places in not others. For things like C, it makes sense. For languages that use braces for blocks inline (e.g. Perl), you're going to constantly have a mix of Allman style braces and inline/infix braces if you use the language features in a useful manner.

Put another way, style is something that should be chosen per language, perhaps with very similar languages having a style that it makes sense for you to share across them. A blind adherence to any specific style across languages is not necessarily useful. This is obvious when you consider languages as disparate as C, Lisp and APL, but it applies similarly, if more subtly, to languages that aren't nearly as different as those are from each other at first glance.
My understanding of it was that the "free software" movement is making moral claims about how software should be distributed while the "open source" movement is just saying "hey, this stuff is cool and useful" and doesn't have the same kind of uncompromising stance. Which would fit well with the license thing.
While this topic is interesting; on one hand, ironically the video is so overdramatized in presentation* it is a bit cringe to watch, on another hand, unfortunately, it is socially acceptable, for now, to make exuberant and unsubstantiated claims.

In my opinion financial industry does not work in same way without consequences.
> I swear I didn't see factories-making-factories-making-factories until that thing was published

No? That's a pretty good description of the sort of metaprogramming that Lisp gives you, and Lispers are really enthusiastic about that kind of thing. People will dispute the parallels, but the real difference comes down to:

- non-Lisp languages being significantly less powerful

- Lisp's veneer of respectability

... which shouldn't be all that odd, considering the person who gave us "design patterns" was Dick Gabriel, a Lisper.

At least the "SingletonFactoryWorkerVisitor" programmers use a nomenclature that reflects the ontology the object is supposed to fit into.
The creator, Rich Hickey, explains that Clojure has been explicitly designed for 'situated programs' in this talk: https://www.youtube.com/watch?v=2V1FtfBDsLU
Windows invented the taskbar, so far as I know, and their initial implementation only showed the icons: https://upload.wikimedia.org/wikipedia/en/8/88/Windows_1_Bar...

The macOS dock distinguishes itself aesthetically precisely by not being a taskbar with other functions and features. Every other taskbar implementation, even the ones that use icons (an approach that predates the Apple dock), sees it as important to not waste space and provide indicators and useful widgets on the same bar.

The "dock" approach is distinct in that it contains only large friendly application buttons, and doesn't use the full width of the screen. The thin taskbars common to other operating systems which also frequently use icons to switch applications shouldn't be considered docks, if for no other reason than that they predate Apple's approach. As you pointed out in your other comment, clicking on one of the icons doesn't even do the same thing in Windows as on macOS, and the task switcher part of the taskbar is the most comparable thing between taskbars and Apple's dock.
This isn't news; this is pure speculation.
Oooh, nice. That looks potentially useful.

For people who haven’t clicked the link, this assumes you’re defining your API in OpenAPI/Swagger/a few other options, and (one directionally) converts it to suitable formats for static publishing:

Widdershins is generally used as a stage in an API documentation pipeline. The pipeline begins with an API definition in OpenAPI 3.x, OpenAPI 2.0 (fka Swagger), API Blueprint, AsyncAPI or Semoasa format. Widdershins converts this description into markdown suitable for use by a renderer, such as Slate, ReSlate, Shins (deprecated) or html suitable for use with ReSpec.
Thanks for the recommendation. Going to watch it tonight.
Maybe someone on WSB who's built up a massive short-sell position.
How it gets from bad to worse..

Realistic headline: As more of the bow and stern are freed from sand, ship suddenly lists and dumps 5000 containers into the canal.
> The examples in your README also seem very limited

Agreed.

.

> with no guards

It's not entirely clear what you mean by a guard. Isn't the entirety of a state machine a guard?

If you mean transitions that are disallowed due to embedded mealy values, that's meant to be handled by the return value from hooks. That runs but isn't published yet because the test cases aren't yet adequate

.

> actions

const yeah_huh = sm`has_actions 'tell_em' -> neat;`;

or less glibly

const matter = sm`

solid 'melt'
<-> 'freeze' liquid 'boil'
<-> 'condense' gas 'ionize'
<-> 'deionize' plasma;

`;

.

> recursion

State machines don't have control behavior and in general should not have direct expression of "recursion," unless I misunderstand what you mean

If you mean machines self-embedding, that is planned, and I don't know of anyone else who does that

.

> parallelism

Nothing stops you from putting a machine in each of a bunch of threads or web workers or whatever. By example, if you were making a Roller Coaster Tycoon style game, having one FSM to model each park visitor or each ride or each garbage pile or whatever would actually be fairly reasonable.

Granted, I'd probably just make an array of them and process them serially in a single web worker, because you'd want the world synchronized and fast, but, it's doable.

The core concept of a finite state machine has no direct association with process control and within a single finite state machine it's not actually clear to me what parallelism would mean within a single FSM. I've never seen this in any other state machine library. If this is what you mean, I'd like to hear more, possibly including an example API.

It's possible that I misunderstand you.

.

> it seems overly simplistic as of now.

If you can find a finite state machine with more features, please let me know where.
> Isn't there a useful SQL subset which allows you to switch from one database to another without rewriting?

Only if you're happy throwing away a lot of the features, which is taking away from what makes SQL an attractive solution in the first place. Plus, even some basic things aren't the same between different implementations (e.g., SELECT TOP 1 * FROM t vs SELECT * FROM t LIMIT 1), so you'd really have to be testing with different RDBMSes the whole way through to make sure you didn't accidentally break compatibility.
Wouldn't it stand to reason that removing some of the containers would raise its draft a bit? It can't be that hard to do given that some smaller vessels include cranes.
You'd need a nuclear-level explosion to blow this ship up into small, practically movable pieces that aren't connected anymore. Everything on that ship is steel. Conventional explosions would just blow a few holes in it, and deform everything enough that moving things becomes impossible.
I just want to be able to deploy updates during business hours without downtime. Hard to do with a single process.
Like that guy who wrote a blog post about not waiting around after taking a COVID vaccine because it's a much greater risk than checking for an allergic reaction?
They need to give that canal some serious laxatives to flush that ship out. ;-]

But seriously, it looks like dredging or a king tide will be needed to get that ship flushed out of there.

Btw, it takes roughly 9-10 additional days to navigate a ship around the horn so ships would be better off steaming the long way around if time is critical.
Just so everyone is clear: The company that handled the salvaging of the Costa Concordia is the company that is handling the salvaging of this ship. Same exact people! You can bet that they are going to be doing the best thing that can be done.
I’ll ping you offline. I’d love to get back to that with you. Also enjoy seeing your comments all over this article :)
I've come to that conclusion after reading the emails by myself.

Sexual relations with minors outside of Romeo and Juliet cases is always sexual assault, and it's even moreso when you're meeting those minors after stepping into the "Lolita Express", at the direct behest of someone that was publicly known to be in the sex trafficking business. Where I live that is unambiguously at least sexual assault, if not worse.
So does the US Navy, Cornell Undergrads, ...

If Neil Armstrong could go to thr moon in diapers, why can't delivery drivers?
This is how every post and comment works on HN.
Wow, that's harsh.

If I'd explain it as using cofferdams ( temporarily structures) to raise the water instead of the traditional lowering. Is that better for you?

I'm 100% sure that using simple solutions to hard problems is not always thought off when something is not used in it's "traditional" sense.

Sometimes outsiders give another POV that could be actually useful. And sometimes it isn't.

No need to get rude for that... Perhaps try some constructive feedback on why it shouldn't work next time? :)

PS. Before you misinterpret my words again. I'm saying that the concept is simple ( raising the water level), not the execution of it. Since on this scale every solution is harder to execute.

Edit: It's already been confirmed by another poster that it should work in theory: https://news.ycombinator.com/item?id=26587692 ( with pro's and cons)
That would take weeks-to-months. It's faster to dredge around it with a mobile barge.
I bought a cheap dumb nokia on Wednesday, and have left the iPhone at home. I still reach for my pocket to browse reddit, but then remember that the site actually fails to load because it uses more memory than the phone has.

Of course, I miss out on group messages, at least they come to me alone, so I have to piece together like a puzzle what people are saying. Ah well.
Their daily operating costs are a significant fraction of the $300,000 and it saves a couple weeks.

(tens of thousands of dollars just for fuel each day)
Transpiling to Z3 and Coq is an absolutely fascinating idea.

I will attempt to adopt this. I've no idea where even to start
Getters and setters:

1. Are only conventions. Nobody's forcing you to use them.

2. Simplify refactoring.

3. Are a necessary layer of abstraction any time that 'setting' a value requires updating a related value.

#1 and #2 are only a manner of taste and implementation-specific use cases of tooling built on top of a language. #3, however, is absolutely necessary, to avoid entire categories of business logic errors.

Just imagine if updating a string's value required you to also manually update the string's length. How many string-length related bugs do you think that kind of adventure will result in a typical program?
Submarine container ships or an underpass would be cool.
Elon, we need you ;)
Since it might takes weeks to clear the canal, can anyone here comment on the implications this will have on world trade?