skysight-inc/HackerNews huggingface dataset:
Fortran predates C, so 1-based indexing has been “here” arguably longer than 0-based indexing. Most languages targeted at numerical computing use 1-based indexing because mathematics uses 1-based indexing in linear algebra. That seems like a huge benefit to me! C has 0-based indexing precisely because it doesn’t have genuine multi-dimensional arrays and has to use pointer arithmetics instead (which in my opinion makes it a very bad fit for scientific computing)
Truffle works by taking your interpreter and generating a compiler by partial evaluation [1]. So I believe they have written a JVM bytecode interpreter and Truffle makes the JIT.

I'm super impressed by how the Truffle/GraalVM team has been able to turn this theoretical concept into a system that yields production grade compilers (although this Java on Java is not there yet).

"A very important detail of this implementation is that it’s implemented in Java. Java on Truffle is Java on Java! Self-hosting is the holy grail of Java virtual machine research and development." - now if you chuckled and imagined this as xkcd, I'm with you. Regardless I think this is really not some ultimate geek olympics fantasy, but that truffle and graal will be equally if not more transformative to PL reseaech than LLVM has been.

1: http://blog.sigfpe.com/2009/05/three-projections-of-doctor-f...
I think a simple camera icon in the status bar that appears when an app is using the camera and the user can toggle it on/off. The camera then just starts feeding black to the app. Have it disappear once all apps no longer have the device handle open.

This isn’t a difficult feature to design and a pretty simple one to implement at the OS level.
If you have 50 developers and you can't "manage the tooling for off of this internally" you've got WAY bigger issues.... SMH
I appreciate that you've framed a logical argument. There is definitely some sound logic in what you are saying.

I think of it a bit differently.

Reddit could have its 10 commandments and adhere to that. That would be clear and transparent and it should apply both to mods and users alike. There should be no cider house rules. A community is given power by its userbase. Mods should respect their userbase more than they do.

Mods can simply not be trusted to be good faith actors. They constantly abuse their power and Reddit enables it. They are encouraged by the (cult)ture there.

Every mod is free to act as they wish and Reddit will support it. They act like bullies is more like it. Do as I say not as I do.

I then take a step back and wonder. Are crowds truly wise? Or are we simply watching groupthink play out at massive scale?

The crowd is not a crowd anymore. It is a herd.
What’s __init__ for me? Designing for Python package import patterns(2019)
Plenty people spending a lot of their time working on Postgres have complained about Amazon's style of using open source. Among them myself (long before working for an AWS competitor). Most of us don't have problems, or even the opposite, with companies making loads of money with Postgres. What I/we am severely disappointed with is that they barely put resources towards contributing back. Every now they make grand statements about their community support, but in the end little materializes.

This is purely my personal opinion.
Hm. Maybe I am wrong on this, but then you would expect them to dispose it near a potentially faraway crime scene, not close to where it was stolen.
This is fascinating. Combined with all the other languages that are now supported, along with its incredible capabilities, GraalVM is shaping up to be a truly modern “common language runtime” — what the .NET CLR and DLR once promised to be but so far have failed to deliver.

And for what it’s worth, TruffleRuby on Truffle/GraalVM (reportedly derived from JRuby) is supposed to be incredibly fast.
Ahh, blockhain and smart contract technology. I take it that a16z are hoping to get a piece of that major financial player action by investing in that space?
For a general purpose programming language 1-based indexing probably causes more confusion and errors than benefits. A language trying to be a general purpose computer programming language shouldn't abstract in a way that's likely to lead to confusion with those that understand the fundamentals.

For a domain specific language focused around simulating physical things, or a specific application, 1-based indexing may be the more appropriate option. In this case, abstracting the problem domain is likely more important than adhering to the limitations of hardware.
Has this argument been rehashed much:

If you use 1-based indexing, you can't iterate over a list of maximum length with a simple loop. The normal loop condition is `while i < len` (0 based) or `while i <= len` (1 based). If len is maximal, the second one probably has an overflow bug in the loop body that turns it into an infinite loop or a crash.
Is there anyone who isn't burnt out due to extended lockdown etc.?

I like working from home but I don't like living at the office.

Be that as it may, it's still much more productive than any time spent in an infernal open plan office.
Ask HN: Are there any agriculture/food security entrepreneurs here?
What are you working on?

I live in Maui and this is all I can think about right now. After water, it will be our relationship with the soil, the plants and fungi that will be most essential going forward.
Isn't the whole point of using a language like Python or JS to make it so you don't have to worry about what happens "underneath"?
If the language doesn't expose pointers, then that's an abstraction leak. Even if it does, why must that dictate the syntax and semantics? I'm sure our compilers and interpreters are capable of turning

arr[i]

into

*arr + (i + 1)
Seesaws Built on U.S. Border Wall Win Prestigious Design Prize
Except Democrats are promising regulation, taxes and the like.

IE the mistaken thought that Democrats won't remove 230 - despite Obama, Biden, etc all saying they want to remove it (if for different reasons than Trump, etc)

https://www.theverge.com/2020/1/17/21070403/joe-biden-presid...

And with promises of Paris Accord, Green New Steal and removal of stuff like the Keystone Pipeline...

It's funny to think "democrat control" and "keep regulations at bay" could be included in the same paragraph.
Subtle, but I agree.
I'm a westerner currently in SE Asia, and what I recognise from your comment is that what causes these kinds of conflicts is the culture of face-saving. Saving face is deeply embedded in Asian culture. Most of the locals down here where I am are very careful to avoid confrontation or criticism of anything or anybody because in a culture like this it can lead to losing face and then the next step is generational conflict, banishment, and sometimes even murder. People often want to avoid going to the police to settle disputes because the cops are just as corrupt as the local government, and graft and bribery are endemic.
I grew up on languages that were 1 indexed - BASIC, VB, VB.Net. It took me a long time to get used to 0 indexed, primarily in college and later in working with more C inspired languages, yet I think 0 indexed is superior. Why?

Numbers in programming start at 0, even in the languages with 1 indexing. Period. When I initialize an integer, unless I explicitly set a value, it’s 0.

From a purely pragmatic standpoint, making the first number an invalid location in a list just adds unnecessary complexity and increases the odds of off-by-one errors. On the same token, there’s nearly no benefit to starting at one.
VC is fundamentally about the exits and the 'unrealized value'. Without those there is no way to keep the cycle going. Of course those exits had better confirm the unrealized value from previous news sent to investors.
The core challenge for VW, as well as for Tesla, is not just how to excel at software, as opposed to building cars, which VW is already good at.

VW's ICE ecosystem works for 3rd party car component manufacturers, but VW doesn't yet know how to engineer software, or how to develop a software platform that is the basis of an ecosystem in which 3rd party devs could flourish.

The challenge seems similar to the one faced by personal computers in 1980, when computing was still dominated by mainframes. At that point, the whole computer industry was an ecosystem controlled by a couple of mainframe manufacturers, and populated by a few thousand COBOL and FORTRAN programmers. The Apple ][ and CP/M computers existed, but not at a disruptive scale.

Personal computers took off when the IBM PC provided a platform where 3rd party application developers could flourish, technically and commercially. The same thing happened again a quarter century later with the iPhone and Android ecosystems.

What will be the enabler for EV's to grow a huge ecosystem?

A monolithic Tesla? An Android or an IOS for Automobiles?
Python supports -1 based indexing, so clearly that's the superior convention.
>People are allowed to question election integrity.

Of course they are but at what standard of evidence do they hold themselves to to accept that it might not be true in the end?

You can question anything you want but there is a point where being a doubtless unwavering sceptic biased toward a particular cause will make you slip into cynicism and denial.
Politics migration started in 2020:

Hong Kong > UK

Belarus > Lithuania[0]

[0] https://www.lrt.lt/en/news-in-english/19/1206694/lithuania-r...
Framework doesn't mean that it is across all layers. It can still be a framework for the view layer only. Libraries become frameworks when they start to dictate how you write and structure your code units, and also when they take the charge and decide which code should be called and when. React does all that, and thus is a framework, even if it's concerned with the view layer only.
You might want to contact HN to report what they did. I think if they proved that the post is against HN rules/guidelines they will deleted it or flagged the post. :)
> the US version where you just let the virus loose

Herd immunity by August, with or without vaccines.
A list of length equal to whatever maxint is is something you would have to set up on purpose. (If it were naturally occurring and unpredictable, then you would need to handle the much more common case where the length of the list is greater than maxint, too.)

The fact that a weird situation you set up intentionally needs special-purpose handling doesn't seem odd or unreasonable to me.
Rather the opposite. But having lived in Northern Canada where being confined to the house for months on end during the winter is normal has helped to prepare for this, compared to that this is fairly easy.
12-32% on a Macbook Pro 2019.

I don't think I'm going to adopt this.
I don't think it simplifies quite that far. There are languages that are capable of catching such errors ahead of time. Now that I think about it, there are even more that catch the initialization error - or at least do so more automatically than the end point error.
Well luckily for you, and I am sure others, Firefox will allow you to re-enable this in your browser once version 86 rolls out. As cited from the article:

Set the browser.backspace_action to 0 in the about:config settings panel to re-enable support for the Backspace key as a Back button.
How do you determine which of the three men you pass on the street is a scammer, junkie, or hungry man? Maybe you give to a food pantry instead-- what about the people that use them for the free food but don't really need it?

How do you define scammer? If a person is homeless, but holds up a gas can with a sign that says "ran out of gas please help!" then they're lying about why they need the money, but they aren't scamming in terms of not actually being homeless.

What about junkies too-- they still need to eat. Absent enough money to do both, they might choose just to get high, deteriorate more, have even less chance of recovery.

There's no easy litmus test here. No easy way to ensure the money you give is going to be used in the best possible way to improve someone's life.
Move to Vietnam, China, Singapore or Taiwan. No more lockdowns.
It's not rocket science, but it's not entirely simple because there are a lot of moving parts, because IP networking is annoyingly complicated, and because we are stuck with IP addresses and interfaces that they are attached to, with many of these low-level details percolating up to user code. I like Linux's a-la-carte container APIs but their flexibility seems to increase complexity, as you end up dealing with multiple namespaces as well as cgroups, etc..

Then there are Kubernetes and Docker which add a lot of complexity on top, while providing some levels of abstraction which don't entirely eliminate the need for understanding the underlying internals.

Having some more mid-level container and networking APIs would be nice, but I'm not sure it would solve the complexity problem.

Guaranteed employment for networking/container/linux experts I guess.
Current Unity browser games generate webassembly as final step.
Yeah. There’s a lot of startups, but only a few that are actually promising from a risk reward perspective. VC investing is about home runs. So they all fight over investing in a few companies
There's a distinction between physical goods and digital goods. Other than video games, how many other digital goods do you buy and then resell?
Yeah the blue looks purple
Here’s some fuel to the flames: < is less chars than <= , it also is more logical. 0-based indexes have the advantage of if in comparison and range. Mathematics treats 0 as special and can have all sorts of side effects if dropped into a formula, code doesn’t have this side effect (unless running formula as an algorithm, which is math).

To save yourself from headaches, I believe 0-based indexes are preferred in almost every modern language for the simple reason of optimization. I have no evidence to back this. NULL=Nothing=0 is a thing though.
> - you had to wear your mask as soon as you left your house

> - you were only allowed outside for exercise for 1 hour (with 1 person)

> These all seem reasonable in a pandemic to me.

Not really; no evidence has ever suggested that outdoor spread is enough of an issue that either of these policies make much of a difference.
This is pretty cool. I've worked at companies that would probably go for it. Though these companies also usually have someone in-house that is happy to MC or host Jackbox tv or another option so maybe more info and testimonials to talk up the value of your host.

It reminds me of https://startplaying.games/ which matches DMs/GMs with people that want to play dungeons and dragons and other TTRPG games online. Pricing is per person per session. Some of the DMs might be able to hit that $350 price point but it'd be for a 3+ hour session and their value add is very very obvious with number of games/hours they've DMd and reviews from players at their tables.

There's also a bar trivia company in Denver that's been hosting bar trivia over zoom - I think pricing is per team with some fun prizes. They support many more people than what you are offering too though. I have participated in a bar pre-covid and on Zoom and both experiences were fun.
People have also written about the nobility of the life of slaves. People write a lot of things. But when their arguments are used that people should be forced to die, we shouldn't look them with reverence.

https://www.nickbostrom.com/fable/dragon.html
Yes it will takes time, but you might also increase your presence in social media because it is excellent in gaining audience.
Here's two arguments arguments in favor of 0-based 'indexing' (or offsets), that aren't just "because that's how it's done":

1. It is faster. Due to how memory works, 1-based languages need to subtract 1 internally every time you access an array[1].

2. It works mathematically better with some of the most common operations on array offsets, like modulo and division into round/ceil/floor. You'll be peppering your code with +1 or -1 around those a lot if you use 1-based indexing.

[1]: This is lua, for instance: https://github.com/lua/lua/blob/master/ltable.c#L702
This entire saga is both typical and odd in that it has elements of truth that have been exaggerated by all sides involved.

It's typical in that high level leaders in China that don't follow the party line just-quite-closely-enough risk major consequences. It's also typical that in order to get to such a level of influence, a high level leader in China clearly understands the stakes and proposition at hand. It's further also clear that given the lack of meaningful options, any such leader would be forced to stay within the boundaries.

What's odd about this is that Jack Ma clearly must understand the consequences of what he said to regulators that day [1]. It's also odd that he misjudged their response so drastically. He clearly didn't spend all of this time building the empire that is Ant without having regularly seeing reactions from individuals of this body and even more powerful figures.

That a lot of Ant's fundamentals in financial health were questionable isn't really widely disputed as far as I can tell. The stated goals were optimistic but admirable as well: give loans to literally the guy on the street that needs it most and use data to figure out if you made the wrong choice en masse.

But regulators appeared to be onboard right up until this public moment. So why now? What was at stake when all appeared to be smooth sailing already?

[1] https://www.youtube.com/watch?v=ULORUT2Ckw4
How to Create a Spreadsheet-Based Data Dictionary
Why is this a thing?? Seriously, every language has its rules...just follow the rules and build something useful
USA here, it means nothing to me.
> TWIST podcast by Jason Calacanis

Hmm... the only podcasts I seem to find online by Calacanis are All-In and Angel. Which one do you recommend (or both)?
ElasticSearch know exactly what they are doing here.

By leaving it grey and a little open to intrepretation they know that AWS lawyers will have to advice AWS to avoid it because it might open them up to legal attack.
What I am saying is that I wished that the EU never existed as a supranational political institution.

Free flow of people and goods? Sure, excellent. A unified body of regulatory agencies to coordinate development of standards? Yeah, ok. A whole political-bureaucratic system that removes autonomy from participating countries and does not allow members to get into bilateral agreements outside of the block? Hell no!

Were the EU something along the lines of NAFTA or Mercosur, I'd be 129% behind it. But this ever-growing monster that it has become, no way. To me the EU is becoming Germany's revenge for losing two wars: they failed by military force, so now they are taking it over by economic domination.
Because there's a certain subset here on HN that believe just about any problem could be solved if only the free market was allowed to operate without restriction or government intervention. I have on occasion run into them like running into a brick wall.
Fully agree. Got to the end of the post and was looking for the rest. The ranting could have been fine if there was more information and exploration. As it is, it’s unremarkable and not worth reading
Even if people were medically immortal that doesn't mean they'd be functionally immortal.

There are always accidents, and I expect "accidents" would tend to befall terrible dictators at a greater rate than the general population, especially among people whos will isn't already being crushed by their inevitable death.
This is such a creative idea. Imagine kids playing Seasaw on both sides of the Wall! It destroys our materialistic view on life.
Yes to the point where I was let go. Crazy times we live in. Crazy times.
I think you’re confused about this project. This is not a new language. It’s literally just lisp syntax for the Julia language.

When this gets typing, it will be with Julia’s very powerful and expressive type system (which is dynamic by the way), and it just needs someone to modify the LispSyatax.jl parser to properly represent the type annotations.

Calm down.
It doesn't just kill old people but it would be more sensible policy to note that it overwhelming kills older people -> https://www.health.gov.au/resources/covid-19-deaths-by-age-g...
Increases compliance rate, reduces losses from non-compliance, improves monitoring/statistics around non-compliance.
When you add MS Phone Companion/Link to Windows on Android you can "Send to PC" which will either load the tab in Edge (newest Edge based on Chromium), or create a notification in action center based on your choice.

Works great, though I needed to whitelist some domains on PiHole for it to function.
Every now and then I try to understand them, and I think if they fulfill (what I think is claimed) to make Leibniz calculus on a rigerous bases, then you are right. For me the litmus test is how to prove chain rule (since the classical proof and the rigerous one are conceptually different). But when I read about surreal number it somehow seems you need the modern proofs as a prerequisite.

Let me ask you: how do you prove chain rule with surreal numbers.
This is how real change happens as well. When Gallileo claimed the earth spins, people didn't look at the facts, thought about it, then came back and congratulated him on his discovery!
They accused him of heresy, imprisoned him and would burn him at the stake if he didn't "repent".

Only by those generations fading away, paving way for new less-biased and more open minded people, ideas/trends/facts finally got recognized. (Galileo died in house arrest, and only 300 years later his teachings got accepted).

Dying and letting go is crucial. Nature choosing to make new creatures rather than repairing and keeping the existing ones is how things evolve and move forward. It's so simple and elegant.
What terrible backward ideas and status quo would aeon-old minds strive to keep-alive on this world otherwise.
I don't think it's a real fundamental though - at least not for computing in general. It is true for C, and it is likely true for the many languages that implement things like C. But it's not inherently true that the 'fundamental' implementation of an array must exist as a C array does.
although running a jvm inside of a jvm sounds fun, wouldn't this slow down an already slow interpreted application?
I've been enjoying watching the USA burn, mostly as a nice distraction from covid.
This article doesn't mention the part where Ma criticized regulators in a speech during IPO prep before it was called off [1]. According to the FT (sorry, paywalled), this is quite out of character for him and upset both investors and regulators quite a bit. FT suggested that the reaction to that speech was the reason he stepped out of the light for a while and not necessarily the regulatory investigation as implied by this Bloomberg article.

https://edition.cnn.com/2021/01/06/tech/jack-ma-china-tech-i...

EDIT: Another HN thread with a better article: https://news.ycombinator.com/item?id=25842855
Wasn't aware of this. Thanks.
Intentionally Writing Bad Code
Facebook Program Owner
I am voting my Copyrighted systemn no longer be made for lease and i am with drawing 8t s9on
TWIST - 'This Week In Startups' is the Jason Calacanis podcast the parent was referring to, it's an acronym.
I spent more than 3 months on the lockdown. Working from home as a full time employee and also I was able to make a lot of progress on my side project. It really increased my productive since I don't waste 2 hours a day on commute and no distractions at all. So that's a good part.
Proper Release Versioning Goes a Long Way
It's likely old and carbeurated. Running pump in reverse may serve to empty the carbs fuel "bowl".

Some cars can run a good while off the bowl. Enough to get a mile maybe.