skysight-inc/HackerNews huggingface dataset:
I suspect they are thinking about things like cellular automata.

If you squint just right, you may think there are no conditionals. Just straight-line data flow to compute cell values based on a fixed neighborhood of the preceding state. A big fluid dynamics simulation has a similar characteristic.

However, this squinty interpretation can just as simply show you that the whole thing is just a DFA, as mentioned a few posts up! The finite mutable register just encodes the name of each state in the state machine, and each simulation cycle is just computing the next state transition within that large but finite state space.
I've wondered why the JS people didn't call their keyword for this purpose "final" like Java did.
Did you have a look at the features on https://sharpscript.net ?

The only time it compares with PowerShell is when it's used to execute Sharp Scripts [1] which is only 1 of its use-cases. You can embed it inside .NET/Core Apps [2], build entire Web Apps with #Script [3], run those Apps from a Gist on-the-fly without an install [4], deploy it on the Server without any CI [5], use it as a replacement to Razor [6], use it to develop Web APIs [7], use it to render emails [8], live documents [9], query Databases, HTTP APIs, AWS/Azure File Storage [1]. All with a familiar JS-expression syntax [10] that's highly extensible [11] and can run in a user-defined sandbox [12] where all functionality available to Scripts running in each Context can be controlled.

[1] https://sharpscript.net/docs/sharp-scripts

[2] https://sharpscript.net/docs/introduction

[3] https://sharpscript.net/docs/sharp-apps

[4] https://sharpscript.net/docs/gist-desktop-apps

[5] https://sharpscript.net/docs/deploying-sharp-apps

[6] https://sharpscript.net/docs/sharp-pages

[7] https://sharpscript.net/docs/sharp-apis

[8] https://sharpscript.net/usecases/email-templates

[9] https://sharpscript.net/usecases/live-documents

[10] https://sharpscript.net/docs/syntax

[11] https://sharpscript.net/docs/introduction#net-usage

[12] https://sharpscript.net/docs/sandbox
I never hear much about Paul Allen. Bill was a bit of a business shark, I wondered if Allen was his ‘Woz’
I have a similar tic. I just edit my hosts file to redirect those requests to localhost. Then when I mindlessly navigate to one of those sites it doesn't work and I realize I did it unconsciously. I do the same for gmail because I have the same tic for checking my mail.

If I actually want to go to one of those sites I just edit the hosts file and comment out the redirect line.

On my mac, the /etc/hosts file looks like:

# #
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost

127.0.0.1 news.ycombinator.com twitter.com www.facebook.com reddit.com
127.0.0.1 mail.google.com
David Murray (The 8-bit Guy) and others are building an expandable, C64ish computer with sourceable parts and modern I/O connectivity (eg. VGA). They're calling it Commander X16. It's very early, but it looks promising as a retro gaming/educational platform. Due to hardware limitations (eg 6502-based CPU), it will probably be fairly limited to Basic and assembly programming and w/o networking capability. But, it will be expandable, so who knows. I think they will eventually have a Kickstarter. Should be a lot of fun!

https://m.youtube.com/watch?v=ayh0qebfD2g
Yes, in addition to having a fake (never-profitable) business, they are also exposed to highly overvalued real estate at the top of a business cycle
I agree. I work 0.8 time (4 days a week) in the UK and am paid pro rata.

I think it balances out well, even aside from the fairness question.

It costs my employer benefits and admin, but they probably get quite close to the same amount of work as 1.0 because many people working 1.0 waste 0.2 of their time anyway.
https://www.huffpost.com/entry/the-book-of-broken-promis_b_5...
Who performs the measurements? What instruments are used to perform those measurements?

If there's someone or something performing the measurements, then they depend on that someone or something to interpret them.

You are right that measurements and models facilitate a better human understanding of nature/ourselves. However, it is important to keep in mind that these things are maps, not the terrain.
The arrival of good internet search along with the ever increasing pool of web content doomed a curated content approach such as was used by Encarta (which could never aspire to be as broad or deep as the web). I can tell you, based on watching sales figures and talking to many customers, that web search was a much bigger factor for the business than was Wikipedia. In any case it would have been much trickier to get the level of crowd input given to Wikipedia by a for profit enterprise. Regardless of tools or formats used.
I'm pretty sure large generators used hydrogen at one point. I seem to remember reading about them using a palladium membrane to purify the hydrogen used to cool generators.
Shenzhen is a special economic zone, which had its own border with mainland China until early 2018.

https://www.scmp.com/news/china/policies-politics/article/21...
Also, say I implement the visitor pattern in some language on a classical machine - aren't there branch instructions being used under the covers anyway?

(the code will probably be more optimized / easier to optimize for the compiler but you get my point)
> I've come across the "documentation becomes quickly outdated" argument a lot

Me too, but I still feel that saying "documentation quickly becomes outdated" and refusing to write any, is not that different from saying "software quickly becomes full of bugs" and refusing to write unit tests. Yes, if you believe that something is doomed, and therefore you refuse to even try, it becomes a self-fulfilling prophecy.

Yes, documentation quickly becomes outdated, if no one updates it. Duh. If a person creates/modifies a part of code, they should also create/modify the corresponding documentation accordingly. (And the person reviewing the code should also review the docs.) If you don't do it, then yes, obviously, the documentation becomes outdated. Did you expect it to update magically by itself?

If you believe that documentation is useless in principle, go ahead and don't write it. Then you won't have to maintain it. Also, make sure to include memory tests to your interview process. If you believe that documentation is useful, write it, and maintain it. But if you have a documentation that you never update, you get the worst of both worlds.
Nuclear monitoring mysteriously quiet after Russian missile facility explosion
You don't need to support it. What you don't have a right to do is to try to use the state to prohibit it. If you want to buy local, it's your prerogative, and there is nothing wrong with your choice. However, if your neighbor wants to buy from elsewhere, it's theirs as well, and this is valid for both buying bananas or engineer work.
The concept of a pseudo-thread you're referring to is a task. A task contains a whole tree of futures awaiting other futures. So no manual propagation is necessary.

Of course, it's possible for tasks to spawn other tasks that execute independently. (To be clear, if you are awaiting something from within your task, it is not a separate task.) For spawning new tasks, there's a standard API[1], which doesn't include any executor-specific stuff like priority. You'll have to decide what you want the default behavior to be when someone calls this; for example, a newly spawned task can inherit the priority of its parent.

To get more sophisticated, you could even have a "spawn policy" field for every task that your first-party code knows how to set. Any new task spawned from within that task inherits priority according to that task's policy. The executor implementation decides what tasks look like and how to spawn new ones, so you can go crazy. (Not that you necessarily should, that is.)

To summarize the Rust approach, I'd say you have 3 main extension points:

1. The executor, which controls the spawning, prioritization, and execution of tasks

2. Custom combinators (like join_all[2]), which allow you to customize the implementation of poll[3] and, say, customize how sub-futures are prioritized (This is at the same level as await, so per-Future, not per-Task.)

3. Leaf futures (like the ones that read or write to a socket). These are responsible for working with the executor to schedule their future wake-ups (with, say, epoll or some other mechanism). For more on this, see [4].

[1]: https://doc.rust-lang.org/1.28.0/std/task/trait.Executor.htm...

[2]: https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-a...

[3]: https://doc.rust-lang.org/1.28.0/std/future/trait.Future.htm...

[4]: https://boats.gitlab.io/blog/post/wakers-i/
There have been fake iPhones on eBay for a while, with copycat operating systems full of malware
I was assured that this never happens on hacker news and that the evidence that I and others pointed out was both poisonous and imagined.

I would actually love to be wrong, but the explanation given was just that it has been looked into, not anything in depth or addressing the patterns being brought up. Similar disinformation and fast bulk downvoting against the general trend happens when talking about reddit's /r/bitcoin and the company Blockstream that runs it.

At least there is a dialog here and everyone generally wants the same thing (actual opinions and explanations from reasonable people with no astroturfing).
Clusterboard Takes Up to 7 Raspberry Pi Compute Modules
Vespa – BM25 Rank Feature, Searchable Parent References, Tensor Summary Features
> HN is not blocked by the great firewall

Your information is 16 days out of date: https://en.greatfire.org/news.ycombinator.com There's now a partial block where it can be accessed from some locations and not from others.

That's not necessarily going to prevent "pro-China" views from appearing. People who circumvent the Great Firewall e.g. to follow celebrities on Instagram may not like the censorship, but could be on the same page with the government on other issues.
Have you considered hiring more people to work specifically on data analytics, fraud detection, etc. for HN?

This is a pretty valuable place, and I would hate to see it fall because of a lack of resources/support. I’m not sure how Paul Graham or YC in general views it, but surely there’s enough inherent value in the existence of something like Hacker News even from a purely business standpoint to support having more funds allocated or it?
left pad is a transitive dependency issue, running an "Always up-to-date" version is no different to visiting a Website that can be shutdown at anytime, except once you've run a Gist App once, you can run it locally offline indefinitely:

https://sharpscript.net/docs/gist-desktop-apps#run-apps-offl...

So you have the flexibility of both options [1]:

web open App # downloads and runs latest version
web run App # runs local offline version

[1] https://sharpscript.net/docs/gist-desktop-apps#github-sharp-...
/r/sino has been working overtime of late, and sending their minions all over reddit to push their message.
I'm still kinda confused about what the purpose is, it at first sounded like it was a vba-replacement for any .net app but the examples all treat it like a regular scripting language.
As the company gets bigger this becomes less of an issue because there is communication overhead anyway. And don't forget the other side of the coin: As you increase the number of employees you decrease the risk of a bad hire and similarly the risk of knowledge gaps when an employee leaves. There are already so many inefficiencies; Even if two people each working 20h are less efficient than one person working 40h, this difference will be negligable.
"We’re constantly working to detect and stop this type of activity because we don’t want our services to be used to manipulate people." What do they think advertising is?
I'm not nitpicking, and the legal purpose of a company is not to deliver shareholder returns. IIRC, most company incorporation specify the legal purpose of the corporation to be to do the business that the corporation is made to do. Here's the excerpt from my certificate of incorporation:

"The purpose of the Corporation is to engage in any lawful act or activity for which
corporations may be organized under the Delaware General Corporation Law. "

And the same agreement vests in the officers the ability to do whatever is necessary to further that purpose. You obviously can't go against the results of a direct shareholder vote but officers have enormous leeway. If they decide to forgo profits in order to make customers happy, whether or not that is meant to drive long term growth, that is completely legal as long as there are no conflicts of interest.
The Greening Earth
Replied in sibling comment, you can run your local version and never update, you can also run a specific released version that is immutable:

https://sharpscript.net/docs/gist-desktop-apps#plugins
> So, what’s const for? For all its flaws, C/C++ const is still useful for type safety.

Const variables can also be mapped read-only. This gives you hardware protection against modifications, and also uses less RAM if the const variable is in a shared library (multiple processes can share the same mappings).
Data Architecture -- as in, designing database tables, not data structures. I was asked to design some tables for a payroll system and calculating paychecks.

And for algorithms, I mean stuff like this: https://leetcode.com/problems/word-search/

I would expect these for a normal developer position.

Do you mean I have to practice pentesting on places like HackTheBox AND algo's on leetcode and similar if I ever want to be in AppSec?
Feynman wrote about feeling terrible guilt from working on the atomic bomb.
Your diligence will surely be rewarded eventually.

/sarcasm

Edit: fwiw id work with ya though. Caring enough to try is half the battle.
To simplify, software (generally) does this:

input >>> output

By definition the output is conditional on the input, at least if the program works correctly. That's why conditional statements are important - they express the relationship between input and output.

Isn't this really basic stuff? Or am I missing something?
Low-Cost 3D Chip Stacking with ThruChip Wireless by Dave Ditzel

https://www.youtube.com/watch?v=S-hBSddgGY0

Fascinating idea, no idea about the practicalities.
Yes, but will I be able to order a dog-walker from an app?
getting distracted by my bank balance while I’m trying to go to sleep makes me feel dumber, not smarter
Measuring C/C++ Code Snippet Performance Using Averaged Median
Blog Post: The Ultimate Guide to Robocopy
From Sunday NY Times weekly Modern Love story in the Style section. I dont think there is any requirement these articles are autobiographical or fiction, but some sound more one way or the other. They tend to be about quirky current situations. I almost always read it.
KSP2 is still based on Unity, but Unity has changed a lot throughout the years. (It's like how Apex Legends and Half Life 2 use the "same" engine). The new entity-component-system (supposedly) makes it much easier to write games with a job oriented approach that scales to multiple cores very well.
Economics usually work in ratios not absolute dollars. Comparing services in Spain and Baltimore can only go so far as the cost of those service have drastically different inputs and those inputs may comprise very different ratios making the unit economics worse in what otherwise appears to be a wealthier area.
One interesting thing about pro-rata vacation for anyone thinking about going to part time: you still get exactly the same number of weeks off regardless.

The trick to that I will leave as an exercise to the reader. It's something I was thrilled to discover by accident.
...the costs of peering to be borne by the sender, relative to the traffic ratio.

This "rule" is too simple to game, to have ever been a functioning rule. Netflix could have just patched their app to constantly upload lots of random data. This would have killed ISPs who often expect mostly-down traffic profiles, but it would have evened out "the ratio" so it theoretically would have won the peering argument. Of course, Netflix never did this, which proves that this so-called rule never really governed anything.
I don't buy the "privacy concern" excuse for this one at all. It almost feels like something one would do purely to spite or trick the regulators and/or consumers for caring about privacy.
National Australia Bank Says Data Breached on 13,000 Customers
Ask HN: How to break out of a terrible job cycle?
I'm a self taught developer who got my start doing some freelancing some years ago. Since then, I've bad an issue finding decent jobs. I've been able to find jobs, sure but typically they end up being rather poor, both in pay and operation. I ended up burning out for a while and am just coming back. I dont believe I'm an amazing programmer right now, but I have slowly started to my spark back and playing with tech that's more interesting than legacy ASP.NET and MVC apps. I've even made my first open source code contribution to a moderately known operating system kernel. Unfortunately I'm stuck in an really bad area amd still look pretty unimpressive on paper.

I've started applying jobs,but ot feel as bad as when I did it a few years ago. Positions that I apply to that seem decent, my resume get filtered out of and the only way I seem to get interviews is spammy phone calls from foreign recruiters that hound me on not having education or not having the exact amount of experience on everything on their bullet point list.

I feel like I'm being condemned to work these crappy lower paying positions for at least the next several years. The issue is, that I need to start making more money asap, but I have weird externalities that make a lot of halfway decent jobs I get contacted about impossible.

Any advice on how to break what seems like an impossible loop?
44K/core is very little memory
Oof. Naturally the idea of distributing scanned copies of the book for educational and professional purposes comes to my mind and the article really gives me the feeling that mankind would greatly benefit from it. But you just can't ignore the sinister origin. The photo of the author and his illustrators lets me shiver. This is a textbook example of a dilemma.
Your mistake was talking to an HR person. They are bureaucrats who understand nothing about our craft and only look for obvious reasons to disqualify you. Your goal is to say as little as possible and get past HR quickly to talk to an actual technical person who can make the appropriate trade-offs. You could be the next Donald Knuth and HR would still reject you for 4-day week because to them you look like [any other shmug + extra burocracy].
Because the mind doesn't see the world as it is, you see things in that paper that their minds simply can't grasp. The enlightenment view of reason is not correct...

Check out the science:

https://www.youtube.com/watch?v=PYmi0DLzBdQ
I wonder how difficult it would be to build a FOSS clone of the base game of KSP, that's ABI-compatible with all the mods.
FWIW, what I meant by "join those two tasks into a high-level join task" was "call something akin to Promise.all to compose the two futures into a single one upon which I could await". It sounds like I need to learn more about the concept Rust has for "tasks", as maybe they are providing this "pseudo-thread" abstraction I was discussing in passing. I am seeing terms like "leaf Futures" and "top-level Futures" in some of the documentation I am quickly turning up.
Very cool that you worked in that lab! Did you say I love you back when putting him to bed?
Is Justified True Belief Knowledge? [pdf]
I like to think of it from the other direction. I'm super excited to use futures and async/await in embedded hardware, where "the heap" might not even exist. Hardware interrupts can be treated as events that wake the executor. That lets me write some code like this:

async fn bracketed_echo() -> ! {
loop {
let mut buf = 0;
Serial.rx(&mut buf).await;

Serial.tx(b'>').await;
Serial.tx(buf).await;
Serial.tx(b'<').await;
}
}

This reads from the serial port and echos it back inside of `><`. The code reads very cleanly, does not require the heap, and should be very efficient.

The caveat is that I am also trying to target a platform that Lust / LLVM doesn't support completely yet, so I haven't gotten this to actually work well. I bet the people using the Cortex processor are far ahead of me though.
I'm a huge Pico-8 fan and suggest that anyone that is interested in Pico-8 watch Joseph White's (the creator) Practice (NYU game designer conference) talk about the design philosophy of Pico-8. https://www.youtube.com/watch?v=87jfTIWosBw. The TLDW of the talk is that he explicitly tried to built a "cozy" game development environment with enough constraints in place to encourage creativity without the stress of starting from a completely blank canvas.

At the end Scott Hanselman has a footnote about building or buying a physical Pico-8 console. One thing that is missing is most Pico-8 consoles focus on the play aspect of Pico-8, not the creation aspect of Pico-8 which is just as important to me if not more so. I own a PocketCHIP and the device is a decent handheld computer, but there are many aspects of it that make it painful to use, not due to the form factor but due to the quality of various components. The keyboard is bad although there are a variety of solutions, including 3D printed covers (https://www.thingiverse.com/glitchpudding/collections/pocket...) or rubber feet (https://androidarts.com/Amiga/PRBOOM.jpg). The quality of the screen and touch is also not great, so it was hard for me to draw pixel art on the device.

I'd like to build a custom handheld computer primarily for Pico-8 development built around this display https://shop.pimoroni.com/products/hyperpixel-4-square, probably using a Raspberry Pi Zero. One of my issues with Pocketchip was that the entire system felt kind of slow\high latency and more compute might be one of the only fixes for that, so rpi zero might not cut it. I'd probably have to print my own case and I still haven't found a great keyboard solution. The best option I've seen is Teensy Thumb keyboard (https://www.pjrc.com/handheld-tactile-switch-keyboard/), but I might go with a standard bluetooth thumb keyboard. If anyone on HN has built a handheld computer or has good resources I'd love to hear about it. My goal is to get something that feels like a Nintendo handheld (Switch, DS, GB) with good feeling physical thumb keyboard and can also be used to draw pixel art.
This statement is a valid response, half a century on, to this statement by one Milton Friedman that the social responsibility of the corporation is to shareholders alone.

It's worth reading Friedman's September 1970 article. https://web.archive.org/web/20060207060807/https://www.color... It's been around since shortly after the UNIX epoch!

It's wise to read critically the motives of some of originators of the Business Roundtable statement. Nevertheless it's an important response to the Friedman Doctrine. If businesses like Jamie Dimon's even consider adopting it, it's a consequential change.
Transferse flux motors (from the talk) have a "too good to be true" ring to them. I wonder what will be of them in 5-10 years.

Increasing the torque density compared to the current state-of-the-art would be a big deal for robotics applications.