skysight-inc/HackerNews huggingface dataset:
ES6 maps don't work well with mapped types where we encode a type-level relationship between a key and a value depending on the key type:

type BlockRenderers<Out> = {
[key in keyof BlockValues]: (
args: BlockRenderArgs<Out, BlockValues[key]>
) => Out | undefined
}

or something like:

type Table = 'block' /* | ... ~70 other table names */
type ID<T extends Table> = `${T}:${UUID}`

type TableToRow = {
block: BlockValue
// ... ~70 other table schemas
}

type RowsById = { [T in Table as ID<T>]: TableToRow[T] }

Maps are also annoying to persist compared Record<K, V> types which just work with JSON. The majority of our code is oriented around JSON-serializable discriminated union types. In my benchmarking, transcoding to/from Map<K, V> to Record<K, V> doesn't seem worth the effort.

So, we Map for in-memory only data organization and some framework stuff but most engineers tend to interact much more with persisted data and thus Record types.
I’ve had good developer experiences with Flutter and C++ for cross platform dev. I’m not a C++ developer, but working with Flutter’s FFI and getting native code running made me want to be a C++ programmer because it opened up my eyes to the possibilities of high performance solutions I could build on mobile.
Buy a 20 USD hot air popcorn machine. No unpoped kernels and you add as little or as much oil/butter etc you want at the end. No cleanup needed either. Only downside is that they are loud.
You think that VR goggles aren’t destroying the planet as well with their manufacturing? Its also pretty bad.

I say this as someone who owns and enjoys my Quest 2 VR headset, in part to watch 3D videos of nature scenes and walks in various places. I just also know it isn’t without an environmental cost of its own.
It's worth highlighting that this works for all bit widths, including infinite. When working with infinite representations, the theoretical analogue is p-adic numbers

https://en.m.wikipedia.org/wiki/P-adic_number
James Cameron was saying years ago that carbon composite is bad: "you're going to get killed in that thing."

https://youtu.be/5XIyin68vEE?t=559
> Where would he go?

Nowhere. AF1 can be refueled in the air indefinitely, and carries enough food and water for several days. You ground civilian traffic and shoot down anything non-military in the air; nothing's getting to you.
> and reliably report when they don't know.

Then we need a new system, because LMs, no matter if they are large or not, cannot do that, for a very simple reason:

A LM doesn't understand "truthfulness". It has no concept of a sequence being true or not, only of a sequence being probable.

And that probability cannot work as a standin for truthfulness, because the LM doesn't produce improbable sequences to begin with...it's output will always be the most (within heat settings) probable sequence. The LM simply has no way of knowing whether the sequence it just predicted is grounded in reality or not.
Yes. When you’re having a conversation about programming concepts, but you don’t want to get lost in details of implementation or gotchas related to a given language, you operate in pseudocode.

I will note though that when I was in school there was an “official” pseudo code, and I’ve never met anyone who uses that. It’s usually just a lazy C syntax.
> Lots of good tools nowadays.

Inform 7 has kinda "won" by popularity, for obscure historical reasons (you can read The Digital Antiquarian's "Teaching the Old Z-Machine New Tricks" series to see what exactly happened to make Inform so dominant), so on a first search that's the tool you're most likely to find, but I just want to plug TADS 3 for anyone interested in interactive fiction development.

Inform is interesting, especially in concept, but it has a huge amount of very serious drawbacks due to its extremely static nature (no dynamic allocation, no creating lists on the fly and appending to them, etc), lack of general programming constructs, and "natural language" syntax, whereas TADS 3 is actually a very excellent little language that's got all the modern amenities and is just a joy to write games in, and has a simply shockingly powerful standard library / world model. TADS 3 feels like Ruby/Smalltalk had a baby with C and it specialized in IF.

Also, try the adv3Lite library instead of the default standard library — the name is a bit of a misnomer, as it's just as complete as the default one, it just has superior design sensibilities and a huge host of new features stolen from Inform. Adv3Lite adds basically everything thay was good about Inform 7 to TADS 3.
Looks like they have been over hyping everything after their huge dismissal of mobile in the 80s!!

https://www.upf.edu/web/angel-lozano/innovation/-/asset_publ....
70% supporting the war is way way of. Active supporters are likely in 20-25% range, majority would definitely be happy with any reasonable peace deal.
I think perhaps you're just misunderstanding some of the terms you're attempting to use. Those things that everyone else told you were wrong and that no one else saw the value in... your reward function rewards pursuing those. And in that context your decisions were rational and functional.
Prigozhin just lost everything he had other than his life, and that remains to be seen. https://www.theatlantic.com/international/archive/2023/06/pu...
Windows Sandbox is an official Microsoft feature that uses hardware virtualization for quickly made disposable Windows VMs.

Sandboxie is an OS-level 3rd party app that uses syscall hacks to sandbox applications.

I say use Windows Sandbox if you care about security more than convenience.
Did this change? For me it says "You think it is (not) a vehicle in the park," which doesn't match with your description of your issue with the results.
If I wanted to write an IF game but needed a very detailed game state (inventory, levelling, stats, etc.) is there a direction you might point me in for an engine or an engine design?

I looked at the popular IF engines and they all felt very focused on story and branches and not really on if you need game systems and a lot of state.
So far bundling the dependencies seems best since it's the easiest and I can live with the redundant space usage / extra size. Using poetry, `poetry build` will build a wheel for the plugin. Then `pip install path/to/wheel.whl --target /path/to/some/folder` to create a folder that has the plugin with all its dependencies. After zipping that and moving it to another machine, `PYTHONPATH=some/dir python3 some/dir/myapp/__init__.py` works to run the plugin.

https://stackoverflow.com/questions/26059111/build-a-wheel-e...
https://archive.ph/gbOXd
To play devils advocate, those same detractors would claim that the real issue will be in the coming year.

That the migration is a good chunk of work, sure, but the real challenge will be decaying hardware, operational issues related to firmware upgrades or having spares on hand or replacement parts that get discontinued by the manufacturer.

That said, I am personally very happy to watch this, as a "cloud skeptic" myself.
It’s possible to hire someone on fiverr to make retro pixel sprites for very low cost. I sometimes hire two people, give them the same instructions, then choose the sprites I like better.
I didn't accuse insurance companies of price gauging. I take issue with the difficulty of getting money back out of an insurer. Some types of insurance make it incredibly difficult to get them to actually pay claims. In fact many insurance companies deny claims by default banking on the fast many people will give up on the claim.

Insurance is not inherently evil or bad but insurance companies tend to be very scummy in their actual behavior towards their customers.
For a heavy joplin user - can you compare the features? It looks like an awesome UI, but wanna make sure itll be good before I jump!

I care about longevity, will I get local .md files so I can easily back up and have them to move to other programs if the worst were to happen?

Do you have a taggin system? Hard to see in the screenshot.

What about linking notes? To be honest, joplin sucks a bit about this.

How do you pay for hosting? Joplin has Jolin cloud, and its a couple bucks a month, how do you make it free, especially in the long run?
Software can always be reverse engineered by looking at hardware. When you don't have the source code what else is there to do?
The "Great Resignation" label implies that such men are not working at all. But I'm not sure whether such economists have thought about whether the informal economy[1] is growing in proportion to the number of men who have "dropped" out of the (formal) employment numbers.

[1] https://www.insidehighered.com/blogs/technology-and-learning...
Even if less performant, a variant of this CPU guaranteed 100% immune from spectre-like problems is highly desirable.
The translation of Philosophy is: The Love Of Wisdom.

Our natural sciences build on the foundation those greeks laid.

Pythagoras?

Math and Music Science.

Aristotle?

> His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology and the arts. (Wikipedia)

Plato?

Religion, science, human nature, love, sexuality, ethics, the idea of the soul, ethics, politics, aesthetics poetry and art. (Wikipedia combining two articles in two languages)

And many more.

Luckily the muslims preserved their writings, when the christians tried to destroy those "pagan" scribbles.
My understanding is that Sandbox runs on top of Hyper-V. Is it a VM? Is it some kind of native Windows container? Why can you only run one instance at a time?
VisBug: Open-source web design debug tools
Is that different from having an imaginary conversation "in your head" with an imagined person?

i.e. I often imagine conversations I'm about to have in my "mental pre planning" phase, usually when dealing with government officials - many of whom are belligerent officious jobsworths. They're obviously not "me" and their responses aren'y something I "think" about before they respond "in my mind".

Could that be a temporary virtual consciousness (like a virtual CPU)?
Consciousness and AGI are completely orthogonal concepts. You can have either one without the other.
Didn't know of that one yet. And so the lock-in continues https://android.stackexchange.com/questions/246819/how-to-di...

Thanks for the heads up. I wonder at what android version I'll decide it's no longer worth the breakage to upgrade. I was still happiest with the options of Cyanogenmod 4.4, the only new thing I can remember being happy about since then is "allow permission while using" (and even that is not working well)
For the uninitiated: https://youtube.com/watch?v=AEtbFm_CjE0
“Given my chosen definition of consciousness as XYZ, is it possible that consciousness is XYZ?”
It just looks like the game is up. Every company is trying to raise prices and squeeze more, so that stock prices remain up.

If they could accept a lower stock price instead, they'd just be more stable, and retain loyalty on the other side of the recession curve.
Windows Sandbox is a full VM with all the advantages that brings, like most definitely a stronger security boundary around it, as well as all the disadvantages, like not properly sharing RAM and GPU access.

You also can't make a Windows Sandbox persistent in any way which makes the feature entirely useless for most uses cases I can think of. Don't understand the decision.
(an example)

I gave out one that was sort roman numbers.

I gave out a file that was 1000 lines long. It may contain duplicates. The numbers are all valid, but are not necessarily reduced (e.g. the number 4 may be represented as IV or IIII).

Print out the reduced numbers in sorted order. If both IV and IIII exist in the file, then IV should be printed out twice (in the proper spot of the overall sorted order).

I timed myself doing this from scratch. It took about 1 hour (7:38 pm to 8:48 pm with some thinking and cleaning sporadically afterwards - https://github.com/shagie/RomanSort/commits/master its 6c79654 that has it acceptably working)

One candidate did it very similar to what I had.

Another candidate didn't have runnable code. Because it was only to take about an hour, and their interview was Monday at 10 am, they didn't start it until they got into their place of current employment that morning (they had a full week to work on it). Neither I nor my manager was impressed with that one.

Another candidate put them into an array (because arrays were faster than lists to access), and then wrote a Comparator to take two roman numeral strings and called Arrays.parallelSort() (because that was faster too), and took the String representation of the array and did a replaceAll on the delimiter with a new line and printed that out. It worked, but the code was messy.
It's the go-to strategy for us as well, but I'll bet you dollars to donuts this is the next target for some sort of crackdown
https://www.heise.de/news/EU-Staaten-schraenken-Pressefreihe...

The EU just approved government Trojan horse software for journalists.

Translation:

https://www-heise-de.translate.goog/news/EU-Staaten-schraenk...

> The EU Council has decided its controversial position on the Freedom of the Media Act, according to which journalists should in principle be monitored with state trojans.

> On Monday, 65 press and civil rights organizations called on the EU Council of Ministers in an open letter to use the planned media freedom law to effectively protect journalists from surveillance, for example with state Trojans. But the calling was in vain. The panel of government representatives of the member states on Wednesday outlined its line on the Media Freedom Act, according to which their security agencies are allowed to spy on media representatives for reasons of "national security", among other things. This would also undermine source protection.

English sources:

https://www.theguardian.com/world/2023/jun/22/draft-eu-plans...

> Draft legislation published by EU leaders that would allow national security agencies to spy on journalists has been condemned by media and civic society groups as dangerous and described by a leading MEP as “incomprehensible”.

https://www.brusselstimes.com/565952/spyware-in-europe-eu-to...

https://www.ifj.org/media-centre/news/detail/category/press-...
The problem is, what we call "hallucinating" in LMs isn't a way of creative thinking and coming up with novel solutions. It also has nothing to do with "interpolate and extrapolate".

It's simply when the predicted probable sequence isn't grounded in reality.

When I ask an LLM to summarize the great water wars of 1999, and how the Trade Union was ultimately defeated by the Antarctic Coalitions hovercraft-fleet under Vice Admiral Zagalow, it isn't "extrapolating" from knowledge of history, it is simply inventing a load of bollocks. But that bollocks will be dressed in fine language and probably mixed in with plausible-sounding references that have a somewhat-logical-sounding relation to the training data.

The problem is, the LM doesn't and cannot know when it produces bollocks.

All it can care about is if the sequences produced are probable according to it's model.
FAA: Requiring child seats would cause 60 road deaths per life saved (2010) [pdf]
Facebook announced this a month or so before chatgpt took off, and got lambasted everywhere because of hallucinations.
Einstein's Philosophy of Science (2019)
I generally agree with you, but I do want to point out that the same could be said for deep sea diving, nascar, jumping out of a plane, flying in a plane at all, going to space, running drugs across a border, and telling your mother-in-law what you really think.

Some humans seem to have a different kind of risk tolerance than you and I do. ¯\_(ツ)_/¯
Every React team I've worked with has held the tool wrong because on every project I've been on in 3 VC backed startups, I've had to track down unintended side effects.

MobX and Valtio create an illusion of fine-grained reactivity but do not change the underlying render cycle of React itself.
Not everyone is a good debater. You'll not be able to logically convince everyone, but it is possible that you'll be able to move a percentage toward your side of the argument.

At the minimum good debating requires taking perspectives, it isn't sufficient to shoot down or simply argue against the other side.

Therein lies the difficulty - to allow yourself to take perspective of the other side opens you up to the possibility of losing because you do not have the skills to navigate the complexity of debating.

People who can take perspectives and then still choose their side, are naturally much more rational and that is evidence to those who are watching.
you can, with wee_slack.py

https://github.com/wee-slack/wee-slack
The GDPR isn't global law. That's because most of the world, get this, isn't in Europe and isn't subject to EU regulations.

It's very hard for some people to understand that Europe no longer has global empires.
Yes Microsoft's is treating its users poorly and their software is generally pretty bad (par for the course for silicon valley these days, unfortunately). But why must any mention of Microsoft devolve to that commentary? We were discussing their dev tools which were, and are, very good. Let's leave it at that.
What is the point of sharing this quote? Because I see someone post it every time.
Vector registers are great, but it's important to remember that random-access cache is also very powerful hardware, and can be better-suited to a lot of searching and sorting tasks.

One task where, unlike sorting, I think vectors have no shot, is random shuffling. For small sizes (okay, but too large to fit all in registers) it's hard to see how anything could beat Knuth shuffle since it just does one swap per value. At large sizes it's not cache-friendly, and there are known methods based on quicksort and mergesort that work better. But I found that a radix pass beats these easily, and I'd expect this to hold even with AVX-512 versions of merge/partition, because it takes 8 steps of those to add up to one 1-byte radix step. Sorting runs into similar problems at very large sizes. The vqsort authors found that at 1e8 elements a hybrid of ips4o (samplesort, think many-way partition) beats pure vqsort.

Writeup: https://mlochbaum.github.io/BQN/implementation/primitive/ran...

Timings (i5-6200U): https://matrix.org/_matrix/media/r0/download/matrix.org/AVtv...
> I looked at the popular IF engines and they all felt very focused on story and branches and not really on if you need game systems and a lot of state.

If you need complex game states and world models and object simulations and relational stuff, then you definitely want to do parser based interactive fiction instead of hypertext interactive fiction, the latter of which is what it sounds like you looked at.

Hypertext interactive fiction isn't really so much a game as a choose your own adventure approach to traditional fiction, whereas parser-based interactive fiction is a lot like a text-based immersive sim like deus ex or system shock — the two major engines have very powerful and in-depth relational world models that can do a lot of impressive things such as simulating the expansion of a gas and its attenuation through rooms or fluid simulation or tying arbitrary things together with ropes. Both of them automatically come with very complete and powerful systems for doing all the stuff you listed by default.

The two parser IF systems I'm talking about are Inform 7 and TADS 3. I would personally recommend the latter if you already know how to program, though. Inform is interesting, especially in concept, but it has a huge amount of very serious drawbacks due to its extremely static nature (no dynamic allocation, no creating lists on the fly and appending to them, etc), lack of general programming constructs, and "natural language" syntax, whereas TADS 3 is actually a very excellent little language that's got all the modern amenities and is just a joy to write games in, and has a simply shockingly powerful standard library / world model, a far more deep and extensive one than Inform has even with extensions. It often feel a like everything I could possibly want to model in TADS 3 has either already been done, or is a trivial combination of things. Additionally, TADS 3's documentation is so much better than Inform's I can't even begin to describe it. TADS 3 feels like Ruby/Smalltalk had a baby with C and it specialized in IF.

Also, try the adv3Lite library instead of the default standard library — the name is a bit of a misnomer, as it's just as complete as the default one, it just has superior design sensibilities and a huge host of new features stolen from Inform. Adv3Lite adds basically everything thay was good about Inform 7 to TADS 3.

Don't let the fact that Inform 7 seems more active or gets more fanfare deter you from TADS. There's a very active little community of tads users that are very eager to help and will answer almost any question you have immediately, and the documentation is so astoundingly excellent I've basically never felt the need for a search engine because everything I want is in one of the three 600 page manuals on different aspects of the language and standard library or in the standard library reference manual. also although tads three the language hasn't been updated or changed since 2012 the compiler is updated and improved regularly.
That’s a fair point. I’ve released 9 projects via open source from my job - we have a very straightforward open source process (MIT-0 license) - and I always have information about how to build and deploy my projects in the README.
I think the unsoundness hazard here is more scary in NPM library code where you can't trust your caller too much. In our application, we generally don't create objects with extraneous properties or use subtyping/inheritance.

I did a quick survey of the 316 occurrences of `objectEntries` in our codebase and found very few (like 15-ish) that weren't obviously on a Record type like `Record<ThingyID, Thingy>` or a static, constant configuration object like `{ [T in Foo["type"]]: HandleFooVariant<T> }`.
The right metric is traffic deaths per capita, because that means so-and-so many families have lost a relative in a car crash. If you use traffic deaths per mile driven you begin to excuse excessive commutes when what you want to do lower fatalities.
I do not think they give a flying fuck about being respected by people who are not in a circle.
The CBAM should be a good first step to twist China and US arm into pricing their carbon as it should be.
This is cool I probably will do this.
For anyone else who's unfamiliar, that's a "Complex programmable logic device"

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

> A complex programmable logic device (CPLD) is a programmable logic device with complexity between that of PALs and FPGAs, and architectural features of both. The main building block of the CPLD is a macrocell, which contains logic implementing disjunctive normal form expressions and more specialized logic operations.
Far too little far too late
maybe not through touch, but being in close proximity is deadly. Officer opened a bag of fentanyl and needed to use narcan so she wouldn't die. https://www.kktv.com/2022/12/15/graphic-police-help-save-off...
Then again, the US having a much higher emissions per capita assumes that with comparatively much less effort, we can reduce our emission than India or China. For us, reducing our emissions by 10% would mean driving less, eat less beef, investing in new technologies, etc., while for India and China that would mean overturning years of industrialization.

While I do agree that both need to reduce emissions, we need to endure inconveniences and move our tax dollars to clean energy, while they have to continue being poor forever or spend inordinate amounts of money to industrialize using clean energy.