skysight-inc/HackerNews huggingface dataset:
I have a fairly recent Dell XPS, maybe 2 years old. i9 and mobile RTX 3070. Realistically I get about 3-4 hours on it before it's dead. Pretty similar battery life if I'm on my linux partition too.
Does Pascal still require all variables to be declared at the top? I did a quick search and that seems like the case, but I want confirmation from someone that knows the language.

If so, that's a immediate "no" for me. We know by now that keeping variable declarations close to their usage is a big boost in readability, and at times even in performance (you only declare variables you actually use).

I know Pascal has evolved a lot over time. If this is indeed still a requirement, it's hard to understand why, and a barrier to those used to scoping in "modern" languages (even C99 has this).
I feel the same every time someone starts using terms without defining them. For an analogy, it’s like a page o’ code minus its dependencies. One should define the dependent terms if didactics is a concern, which in my opinion should always be. I guess this article is relativist on relativism, then?
Those comparisons work against any Windows business laptop though, which Framework competes well with on price and features.

No doubt Apple Silicon has really exposed AMD/Intel and x86/64 in general
This is handy, but the XML URL needs to be definable also maybe output location.

Something like:

go run main.go -sitemap=https://example.com/sitemap.xml -output=~/some/folder

Also I'd print out the file paths of the newly created files as they get saved for better user feedback.
Related:

Charter City:

https://en.wikipedia.org/wiki/Charter_city_(economic_develop...

Special Administrative Region:

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

"Special Economic Zones in the United States: From Colonial
Charters, to Foreign-Trade Zones, toward USSEZs" (2016 Academic Paper by Tom W. Bell):

https://digitalcommons.law.buffalo.edu/cgi/viewcontent.cgi?a...

"Startup City" (YouTube Query):

https://www.youtube.com/results?search_query=startup+city

ReasonTV: "A private libertarian city in Honduras":

https://www.youtube.com/watch?v=TwiE1dxGYNY

Book: "Free Private Cites" (by Titus Gebel) (2018):

https://www.amazon.com/Free-Private-Cities-Governments-Compe...

Zone for Employment and Economic Development ("Zonas de empleo y desarrollo económico" or "ZEDE"):

https://en.wikipedia.org/wiki/Zone_for_Employment_and_Econom...
Just rewrite all of your Python in Go. Python in 2023 is a mistake.
https://en.m.wikipedia.org/wiki/Bystander_effect
LangChain is a perfect example of unnecessary abstraction. You could build a much simpler and more composable library for working with LLMs simply using functions and function composition. This isn't rocket science.
Some of these just seem like things people say when they don't want to dig in to a conversation for convenience, or don't have an interesting reply. The article sort of lays them out as having a type of sideways intention, but often these ones are more benign. I think there are probably better examples.
Thank you for the explanation about the microcode. Many years ago, someone was explaining to me that Lisp machines were Lisp “all the way down”. There were no layers that you couldn’t reprogram with Lisp. When pressed for details, he claimed that even the band gap potential in the transistors of the machine could be reprogrammed, because the transistors were just an abstraction over more Lisp.

Your explanation makes far more sense.
> this is why Apple is a trillion dollar company. because people mindlessly buy any new thing they put out, regardless if it makes sense or not.

not to defend apple or anything but whats the complaint here?... that apple is really good at capitalism?
I tried netboot.xyz but their IPv6 support in 2023 is still broken...

https://github.com/netbootxyz/netboot.xyz/issues/283

Let's try this one.
I love that they’re doing this. However, in my use-case I keep a laptop 5+ years now. At that point, it’s pretty worn out and usually warrants a total replacement.

All the individual components keep me happy for so darn long now. After 5+ years, there have usually been pretty big improvements in every area.
How to hate your customers 2023.
> but generally slower than AOT compiled languages, even those with GC.

Is this an assessment by experience or do you have specific performance data, e.g. comparing a set of benchmarks with C++? What's the difference if checks (range, overflow, etc.) are disabled?
My brother works for Birds Canada making 40k CAD a year. Got dropped into a 500-1M line Java codebase and asked to do site redesign and is now implementing SSO for them.

I recommended “Working With Legacy Code” and he read it.

His first job so great experience. I guess be underpaid is the answer.
Perhaps you misunderstand the point of the charitable tax deduction then. Expenditures/investments made in society can easily sidestep the public good if we don’t find a way to tax them. But charitable money has the public good built in (enforced by the specific types of activities that can be registered as 501c3) so the tax is not necessary
This is absolutely my experience as well. I used to encounter this regularly in a professional context and ended up just replying with a confirmation that "option A" was what he'd agreed to. I was never mistaken.
They certainly did not assist no but I went door to door for a few hours and eventually found a hotel
Should be opt in
Location: India

Remote: Yes

Willing to relocate: within India (Prefer fully remote)

Technologies: Python, Django, Rest API, DRF, React, JavaScript, Typescript, Node JS.

Résumé/CV: E Mail me for resume

Email: rehansingh.4522@gmail.com

LinkedIn: https://www.linkedin.com/in/dev-raj-s-80871b12b/

I have 4+ year of experience in software development.

I worked as a SDE at an elite startup (fintech startup) in the core backend team creating microservice fintech software.

I worked as a Python backend intern at Nirmitee and have skills in Python, Django, Rest API, SQL, AWS, React, ORM, Redis, JS, Node js, Flask.

I was a winner at Smart India Hackathon, SFSU hackathon, and Rowdyhacks by the University of Texas and MLH.

Providing me an opportunity to discuss my experience and potential can add value to your tech team.
Who keeps unmaintained, direct dependencies in their projects? Seems like basic hygiene to replace them.
Ok, you’re probably right as long as your total spend in dollars is the same. If everyone buys laptops half as often but pay twice as much. It’s the spend that funds the advancements.
Ha, I would typically assume the former. Usually people lead with the strongest/most desirable option. The remainder are all technically available.
> just like PCs you configure it once and it will be that HW until it is obsolete for your purpose.

Nearly every PC I own has had its disk replaced at least once, and many have more RAM than they started with; both of these massively extend their useful lifespan.
> it benchmarked as fast as C++ in the past

Does this mean it's no longer as fast as C++ today? Do you have specific benchmark results?
what precisely is wrong with visual feedback?
> An example of the cliché in use provided by Chaz Bufe is "the admonition given to Catholic schoolchildren to recite the Hail Mary or rosary to ward off 'impure thoughts'. The use of repetitive chanting by the Hare Krishnas serves the same thought-stopping purpose."

Neither of these examples have much relevance to thought-terminating cliches, whose purpose is to "stop an argument from proceeding further," because neither of these examples involves an argument.

Rather, they both have a meditative purpose, intended not to end thought but to focus it on something. In the case of Catholics reciting the rosary, the intention is to focus their thoughts on the mysteries of their faith. In the case of Hare Krishnas chanting the maha-mantra, it is intended to achieve self-realization by connecting with Krishna.

But whatever. I'm entitled to my opinion, so let's just agree to disagree.
How much climate change do you think has been allayed by sorting garbage into 3 kinds of trash cans and drinking from paper straws?
You're falling prey to the fallacy that just because 1 person's actions can't make a world of difference on their own, those actions aren't worth taking. By your logic, you may as well not vote either, because everyone else is voting.
Every little bit DOES count, because the more people believe they can make a difference, the more of a difference they will make collectively.
You have to lead by example. Rolling over and dying because you dont think you can make a difference makes you part of the problem.

New tech certainly would help, and it isnt/shouldnt be on the shoulders of just individuals to make all the change. But Im not going to use that as an excuse not to change my own behavior for the better.
Since a vocabulary already exists, then through bootstrapping.
What are you talking about? Mary Sues are almost exclusively main characters.
All this is cool analysis, but does anything other than equally fictional Quinjets actually land on it? They probably only need any runway at all when they're too heavily loaded for a complete vertical takeoff.
.NET Framework to dotnet core
Delphi allows inline variable declaration but Free Pascal does not (the developers explicitly decided against implementing it).

Note that in Pascal (FPC, Delphi, whatever) you can have nested functions so this isn't that much of a limitation as it sounds. For example if i have a procedure that is very long i often end up splitting it in multiple nested procedures and each one has its own variable section.

Also from a more practical perspective Lazarus (the most common FPC IDE) has a shortcut key to automatically insert variable declarations so you don't have to move up and down in code even if you have a large function body. I'd expect Delphi to have something similar.
Restoring the Apollo Guidance Computer [video]
Apple allows content blockers in Safari but not in apps because in part this encourages developers to build a native app to ensure ad revenue.
>> “Laptops don’t change”

> because a few years ago battery life was maybe 7 hours and now it’s 18

seconded for linux as well. a few years ago battery life was maybe 4 hours, and now it's 1.
I don’t see the API claiming to be a standards compliant GLTF renderer, and I would be very confused if it did claim something like that as it’s feature. That said a ’render GLTF PBR’ sample would not be a bad thing to show the authors intent how to organize things etc.
> Pascal uses a single-pass LL(1)

No longer the case with the Pascal version used by the game engine.
They are pretty much everywhere when statically allocated.
You're going to be ok with the current USB-c for many years now, so that should solve at least one issue.
Ask HN: Have any of you quit your job to explore startup ideas?
I have been at Apple for 5+ years doing AI.
Recently, I’ve found a potential co-founder and we explored a few ideas, while I was on family leave. We enjoy working with each other, but we have not identified a promising problem/opportunity yet where we have a unique insight. Now, I am considering leaving my daytime job to join my co-founder on this exploration journey full time, because I realized moonlighting is not working well for me with a demanding daytime job and a family. I’ve saved up enough to be comfortable for 1.5 years with no salary without cutting too deep into the savings.

My main concern is that we don’t yet have a validated idea or a unique insight AND we are both first-time founders.

What are the odds that we even exit the idea maze successfully? Here, I loosely define “success” as having a clear value proposition, developing a unique insight, and raising, say, 2M+ seed round.

Would appreciate your thoughts.
Have any of you quit your job to explore startup ideas? If so, how well did it work for you?
oh, but the archimedes were so expensive, and once again didn't have the connectivity.

Acorn did have a couple of unix/xenix boxes, but not arm based as far as i can remember (could be wrong). i can't believe they sold more than a dozen or so of the things, generally to act as file servers for the BBC Micro's weird networking (forgotten what it was called).
Show HN: Moire Orrery
*Humanity's
If you buy a two year old phone then there's plenty of support left for apple and samsung devices in that time. At least 3-4 years for apple, 2 for samsung.
I agree, all branches of science should invent ways to recycle almost anything. We know we have a waste problem, yet society doesn't demand enough to have ways created to deal with recycling. Forget Mars and looking at the Titanic till we find ways to deal with real world problems.

Burying our heads in the sand will hurt future generations!
I've made a couple dozen pcbs of varying complexity in the past 6 months and I still haven't spent more than a FLIR E4 would cost ??
I can use old laptops because I can't run what I need, but at least I won't buying new cars as old cars seem to have a better bang for the buck.

I like my actual car because is quite reliable and if something breaks, it's easy to fix. Also, being Diesel it's also cheap to run.

My next car will also be an old Diesel. Probably I should buy more cars at some point because they'll forbid new cars with internal combustion engines and it's good to have backups.
I think they meant in terms of how the feature was implemented, not the feature itself.
Where can I learn the latest and greatest container practices?
Indeed and to add - the environmental impact of Python’s speed is nontrivial and growing
Onfim the Artist (2017)
Esphome is also good to learn about here.
Yes, I agree--it's totally ridiculous to ask non-sales employees to show how they directly (or even indirectly) bring in revenue. As an extreme example, the janitor's job is not expected to be tied to revenue. Tons of worker-bee office jobs don't impact revenue, even indirectly. This is not an exercise that is very useful to individual employees.

If your senior management doesn't understand how your team, as a large unit working together, impacts revenue, then that's kind of the fault of that management.
There's more to it than that. You could (from early Pascal days) and can have arrays where the array index range is a previously defined subrange of integers, or maybe even of an enumerated type.

Then you have sets as a built-in type, which is big.

Some more.
This is why Peter Thiel is so obsessed with René Girard
> I say buy the latest MacBook, expense it, factor it in as a monthly cost. These are expendable and essential tools. They pay for themselves

Yay, another top comment that steamrolls the posted article. I say don't buy the latest Macbook: instead repair, refurbish, and get true lifetime use out of these expensive devices. They're expensive to manufacture, expensive to buy, and expensive for our planet and people to just throw them away every year.

They're not expendable at all, here is just one example of the human sacrifice involved in their manufacturing: https://en.wikipedia.org/wiki/Protests_against_Samsung
I've been playing around with Lazarus the last couple of weeks, and I can say there is at least one reason to learn pascal in 2023: it's fun!
"Don't have to firmly grip the steering wheel" is a thing. You're supposed to keep your hands loosely on the wheel, following along while the car takes the lead on turning the wheel.

The Ford thing is "hands in your lap," and is publicly advertised that way. It's far rarer.
I avoid shared code. It makes changing it more than twice as hard
They are great for scale to zero use cases (cloud hosting serverless firecrackers). With KVM rapid booting you want to remove as much overhead as possible, it keeps things cheap. The ultimate endgame would be to have a cold-start time almost equivalent to a prewarmed in-memory image using current technology. Of course, this is just one contender among many similar tech. If WebAssembly truly takes off, then unikernels would become irrelevant.
Not heart attacks, but the issue with CPR is that outcomes after it are really bad. You can do interventions, but the five-year outlook isn't good for ~90% of people needing CPR.

In other words, it's a lot of work to get the a homeless addict to be a net-neutral for society, if that's even possible.
Everyone agrees except the “architect”. How do you convince him?
The code in question has to process a string of variable length.

But the compiler/CPU can process bytes one at a time or much faster in groups. The code is trying to process as much as possible in groups of 128.

But since the caller can pass in a string which is not a mulitple of 128 chars, the first for-loop (& 127) will figure out how much of the string to process such that the remaining string length is a multiple of 128.

The second for-loop (>> 7) calculates divides by 128 (>> 7) to find out how many multiples of 128 there are to process. The inner for-loop processes 128 chars looking for 's' chars.

Now the for-loop within a for-loop doesn't look any faster than the plain single for-loop, but I'd assume that the heuristics of certain compilers can intuit that it can generate code to operate on multiple chars at the same time (SIMD instructions), since the result of one operation are independent of others.

On a compiler that cannot generate SIMD code, the code won't be much faster, if at all, than the naive straightforward manner.
Sounds like an Australian JD Vance.

Seems weird to follow a section about how working class people only care about physical violence, not verbal violence (like these crazy liberals) with three stories of people being physically attacked by working class people for bad mouthing other people or just using rude language.
If you're wondering like me:

>Titan Arums have a fairly long and unpredictable flowering cycle, and they can take up to a decade before they flower for the first time. Even mature plants can go years between blooms

Both are in California (one is nearly finished blooming), and the plant isn't native to the US
There are definitely other projects that are <10ms but I'm not convinced that a fast boot time is something worth spending a ton of time on. Many languages and frameworks take seconds to boot regardless (jvm, python ml frameworks, rails, etc.)

I'll also say that if you are setting up your own bridge and using something like dhcp nanos actually boots faster than the response can come in sometimes so there' s a flag you have to set. I think the 'fast boot time' usecases are a relatively small set.

Having said that there are many many other performance considerations besides fast boot time such as throughput, or request/second or random io read/writes/etc.

Many web languages are single-process/single thread (eg: all interpreted ones) and since that is the vast majority of our users it isn't a problem. Threads are great if you have access to them and if not you scale horizontally (just like the interpreters do today). Multiple processes as an architectural design outside of scaling (and numerous issues when it actually does come to scaling) is something the industry really needs to reckon with.
That's ridiculous. Everybody is in it for the money. Employers choose how to measure performance, so if there is some particular attribute they want, they make it clear and hire (and raise pay) based on that.
Or just not use the app…
That covers the "no" part, what's a global interpreter lock?
I would say Pixelfed. It is a federated image sharing platform. The code is libre (AGPL).

If the main federated alternative to Twitter is Mastodon, the main federated alternative to instagram/flickr is definitely Pixelfed.

https://pixelfed.org/
I did pick NYC as I mentioned in order to hopefully avoid subjective, simplistic and/or half racist responses. One had to be made.

It wouldn't be necessarily a racist response if made against situations in certain cities in France given the extent of assimilationism of that nation, but I call that comment racist given the critic of NYC. New York through its entire existence has been waves of migrants, multi cultural in its DNA, with shapes and influences that changed over time but some would say is exactly what made this city shine and get so admired internationally: a financial pole, with countless architecture prouesses, exceptional arts, culinary and service excellence.

Those "enclaves" have been there since its genesis. What we see when the model is just acculturation.

The unfounded statement that no country in the world can "assimilate" past a certain ratio of minorities is the viewpoint that societies must reflect one particular fantasy view of some homogeneous ethnical soup.
In that case sure, Japan is heaven, Singapore offers a hell of a picture, and every other societies that adopted yet other models are a myth, politics have little to nothing to do with any resulting conflict, revolt and violence, just some cross culture hate and over 200 borders not firm enough for comfort.
Someone got paid to write this
I would hope that "cocaine rat" is a major motion picture soon to be coming to theaters near you.
Surely the perfectly informed consumer will vote with their dollar to put them out of business, or make them change their decision.
You can find some in Debian benchmark game. In general FPC generated code is around 1.5 to 2 times slower the fastest entry (often C++). Note though that this is with FPC's own code generator and there is a new LLVM backend in the development version (FPC's own code generator is the default and will always be, the LLVM backend is for those who really want it and is much slower).

I'd expect synthetic benchmarks like those in the Debian benchmark game to be closer to C++'s performance with the LLVM backend.
Public cloud spending rising faster than private
So have I, haha.

Except I've never been to Moscone. Just past it, dozens of times.

I like Chaat Corner. That's more of a landmark for me than Moscone.

Edit: wow, I've heard your voice before. You did an interview w/ Nassim Nicholas Taleb that I watched.
That's a hyperbolic and rhetorical interpretation of what's going on with this patching.
I’ve started packaging up my clients python scripts as docker images. Works great for cron tasks and updates/rollbacks are a breeze
If you’re interested enough to be curious, it’s worth sitting down for a day with a mini kubernetes distribution and working through the basics of pods, deployments, and services. They are relatively simple conceptually (the hard part is grokking the kubernetes way of doing things) but they give you a feel for the way Kubernetes works.
> Most C extensions and embeddings will require major structural changes or even rewrites.

A lot of those important "extensions" are actually C and C++ libraries designed for parallelism in their native use which have been made available in Python via bindings (e.g. Pytorch). The cores of these libraries are fine, only the binding layers (often automatically/semi-automatically generated) may need to be updated. I suspect only the C-API extensions designed from scratch to only be extensions are going to have major problems with a no-GIL world.

> Every language doesn't have to converge to the same endpoint. Different tools are suited to different jobs.

People have decided they want to use Python frontends. Plenty of alternative languages could have won out, which would have provided native threading, faster runtimes etc, but they didn't; we are stuck with Python. The continued existence of the GIL is incredibly restrictive on how you can leverage parallelism both in Python itself and in extensions. Only in the simple cases can you make the Python<->extension boundary clean: the second you want to be able to call Python from extension code (e.g. via callbacks or inheritance) the GIL stands in your way.
That was a confusingly terse response to give verbally. If someone only said, “Ok”, I suspect I would have assumed the same as the rentee (although, I hope I would have been astute enough to confirm the confirmation). Regardless, for what was likely never much of a money making operation, definitely poor taste to stick to their guns and enforce the deal.