skysight-inc/HackerNews huggingface dataset:
> At the end of the day, you quit your environment and shut down. How do you ensure your interactive work is not lost and the environment is still what you expect it to be when you start again the next day. How would you compile such a program?

Modern Smalltalks have solved this problem. Smalltalk has the concept of Packages just like Java, and as you go along building your environment, even though you are modifying the Smalltalk image, you can export these packages to plain-text files, and put them in Git, just like any other language. The environment itself supports Git integration (called Iceberg in Pharo).

> Also, if significant parts of the source code are written inside the REPL, wouldn't the lack of modern IDE features be a hassle? No syntax highlighting, no code completion, no code inspections etc. Or are there tools that offer those?

The command-line REPLs that other languages have are NOT what you get in Smalltalk. I believe the author means the entire interactive environment, and the "style" of development is REPL, not the actual UI. The Smalltalk "IDE" is just as powerful as any other IDE, including code completion, automatic generation of certain getters/setters, renaming methods/classes, finding uses, jumping to declarations and even refactoring within methods. The difference between a normal IDE for Java is that this "IDE" is pervasively available, including in breakloops and the debugger. Since the system is live, there is no separate notion of debugging, the debugger is always there, and you can use all the editor IDE features when stopped in a debugger. You no longer have to deal with a crippled debugging environment way different from your authoring environment. It truly is mind-blowing!

I highly recommend giving Pharo Smalltalk a spin (by following their MOOC or similar). This video is also worth a watch - https://www.youtube.com/watch/baxtyeFVn3w

I did most of this year's Advent Of Code in Smalltalk and saved it in Git just like any other language. Someone else can then import it into their image. https://github.com/nikhilm/AdventOfCode2020.

Note that the source code looks very verbose, but you never actually interact with the source like that. The source is just a serialization. Your actual environment only ever shows you UI elements and entire IDE windows describing your classes and individual methods.

The only thing I miss in Pharo is that it doesn't have Vim keybindings :)
Apart from that there is a significant lack of OS integration and polish, but these are due to the small community and priorities than fundamental deficiencies.
Thanks for the awesome answer, with citations!

As someone who has to do day to day programming in languages with minimal concept of safety (e.g. JavaScript, C), my concern isn't for provably correct, it's for "make my life easier by covering the 90% case."

Number of times I've needed to work with 255 bit integers: 0.

Number of times I've confused units of time passing into APIs: way too many.

Heck on one system I was working on, I had one API that took distance in as thousands of an inch. Everything else was in metric.

Fixing that sort of stuff could be done w/o great trouble, and it'd be a huge boon to everyday programmers.

Would it be a sexy language feature? No. But it'd make life better.
Related to this, but why do people claim that the memristor is a "fundamental" circuit element? It seems to me that it's just a generalization of a resistor where the resistance depends on the integral of the current. There are already all sorts of circuit components that have the property where the resistance is a function of X, so why is the memristor particularly deserving of its own class?

Unless I'm missing something the flux-charge equation that "dPhi = M dq" seems to be the same as that of the resistor as well (since dPhi = vdt we have vdt = Mdq => v = M*i which is just ohm's law assuming a constant M).
Public housing in thE US is almost entirely shitholes, though. It's better than being homeless, maybe. That's about it. That is the reason many large cities have torn most of it down and replaced it with section 8 vouchers. This scatters the ghetto-dwellers from their former high-rise islands into neighborhoods, which triggers flight by the existing residents since the people coming out of public housing are clueless about taking care of a property and being good neighbors.
Show HN: Runaway Calculator – Calculate how much time to build business
Most of the content disappears when viewed in Safari's Reader View.
Back when I was drinking caffeine, I would have around 4-5 liters (really) of Diet Dr. Pepper per day.

I decided to quit caffeine on my honeymoon 8 years ago, because we went spent a week in a remote cabin with no soft drinks available.

I stayed off of it completely for 2 years, but then I had my first kid. I found that caffeine really helped with alertness during the day. So for the last 6 years I’ve been having exactly 10 oz of cold brew coffee each morning. That seems to work perfectly for me - no headaches, and it’s enough to keep me alert during the day. I still tend to drink around 4-5L of water most days, just due to thirst (replacing the soda).

Before I stuck with it, I had quit a few times before. Quitting cold turkey was probably the sickest I’ve ever been, with vomiting and extreme migraines. But I found that if I just cut back to a single 20oz bottle of soda for a couple of days first instead of quitting completely, that tiny of caffeine bit was enough to keep most of the symptoms at bay. YMMV
I would love to be able to embed the CV into a personal page so that it could link to the full profile on your site. I could picture it being the perfect link between a social network and private content.
I’m personally looking forward to what comes out as a result of the Tether court case.

It’s mysterious how Bitcoiners hate the Fed printing money but they get awfully quiet with Tether printing money.
Sounds good. Build more, subsidize buildings with lots of units, eliminate parking minimums, upzone popular areas, pay for public housing, and tax land in a way that disincentivizes surface parking lots.

All those seem doable to me, which would address your concerns. Any reason we couldn't do all that?
> False. What we can do is look at real life examples of how contracts in other unions have turned out. That is a good baseline for what we could expect from other union contracts.

Ok, then. There are a lot of "other unions," which ones are you thinking about? They're pretty diverse. I mean you have all the way from autoworkers, to the film industry, the public sector, to engineers (at Boeing for instance).

> And the actual, real life examples of other unions, shows me that I absolutely would not want to be in a union.

Then go find a non-union workplace, then? It's not like they're going to get banned or anything, and they currently consist of about 100% of software engineering workplaces in the US.

There's this weird vibe I get from some people that tech unions shouldn't exist at all because they personally don't like the idea of them. What about choice?
Python Numpy and Matrices Questions for Data Scientists
Not a lot people know about Numpy and matrices operations in Python. I walk through and provide real Data Science examples in Python.
Why is it problematic to reference Apache 2.0?

I am curios as I read some resources about various OSS licenses and after I was thinking that Apache 2.0 license is a good one.
I'm fine with that. Funding drugs based on profit potential is hugely distorting. E.g., Oxycontin. Or the whole pharmaceutical sales and promotion apparatus. Or the way it's much easier to fund something that mitigates a problem instead of curing it.

We could publicly fund pharmaceutical research. Indeed, I suspect we'd be better off publicly funding it on cost terms alone. Global pharma research was $186 billion in 2019. [1] The US spends over $100 billion more on drugs compared with other countries' per-capita spending. [2] The current opioid crisis costs nearly $80 billion/year, [3] and was kicked off by a prescription opioid boom [4] driven by the promotion of Oxycontin. [5]

[1] https://www.statista.com/statistics/309471/randd-spending-sh...

[2] https://theincidentaleconomist.com/wordpress/what-makes-the-...

[3] https://www.drugabuse.gov/drug-topics/opioids/opioid-overdos...

[4] https://www.cdc.gov/drugoverdose/epidemic/index.html

[5] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2622774/
I'd also add this talk "Lambda World 2018 - What FP can learn from Smalltalk by Aditya Siram
" https://www.youtube.com/watch?v=baxtyeFVn3w

as well as the whole series of things that Tudor Girba & co. are doing with Glamorous Toolkit https://www.youtube.com/channel/UClLZHVq_-2D2-iI4rA2O8Ug

I'd still recommend folks use Pharo over GToolkit for most things, as GToolkit lacks a bunch of polish and documentation (not to say that even Pharo documentation approaches anything of the quality of the Rust and Python ecosystems).
Maybe I'll live long enough to get religion again? Such possibilities don't trouble me. I suspect 25 years was long enough to absorb most of the valuable lessons, qualities, and comforts available through religion.
Yes, I know. My point was that it’s not like Electron where they ship Chromium with every app, it’s more like a browser tab in terms of resource consumption.
Depends on how you define maintenance. See http://trinitydesktop.org/applications.php under Software Development.
Andy, congratulations on shipping a product! It's a good idea and using .cv for CVs is a nice touch.

That said, here's how your website looks on my 27" 2560x1440 display: https://i.imgur.com/5dsRIlN.png

I'm sorry, but I have to be harsher than usual with my (granted, unsolicited) feedback now because you've been a designer for 11 years and I find your design - to be blunt - inconsiderate and inconsistent.

I hope you can school me on design in general by answering these questions:

1. Why is 3/4 of my screen empty space, while 1/2 of the content is invisible, forcing me to scroll down like I ran out of screen space? Seems inconsiderate.

2. Did you make this website for your own use, or for other people to use as well? If for other people, then why are you not accounting for the fact that lightgray on white is difficult to read in general, but especially hard to read for older folks? Seems inconsiderate.

3. What are the tiny circles with pictures supposed to tell me on the home page? They're just super tiny images with no information or tooltips. Seems inconsiderate.

4. Why do the "Create profile" and "View examples" CTAs look like buttons, but the mouse pointer is different when hovering on them? Seems inconsistent.

5. Why are you messing with the scrollbar to force me to scroll through the main CV? Seems inconsiderate.

6. Why is the "View example" button taking me to a page that wastes my time by showing me the exact same CV that I am forced to scroll through on the main page? Seems inconsiderate.

7. Why is the text on the main CV not selectable, yet on the "View Example" page it is selectable? Seems inconsistent.

8. Why are the links in the footer so close together? Seems inconsistent with the rest of the spacing on the page.
Yeah, I've got an account I haven't had access to in about ten years that I still can't get in to. I try and reset it from time to time and just always get the "try again later".

I'm pretty sure I even have the correct password, but it thinks my login is suspicious since it's from a new/unfamiliar device so requires me to further authenticate myself except I no longer have access to the phone number associated with it. I'm fairly sure I have the answers to the security questions as well as have succeeded at the other recovery options, but best I've been able to get is "try again later".

The email is being forwarded to another address of mine, so I can still receive email I just... can never actually get into the account ever again. Thankfully I don't/didn't ever use it for anything all that important.
The third most common death from firearms in the USA is accidental discharge. This is where people have firearms, are trained in using them, but some circumstance led to the firearm being discharged without intent and injuring or killing someone.

There’s every reason to believe that a country attempting to develop bio weapons may accidentally release that bio weapon against its own people for the same reason: mistakes were made.

It may also be the case that the bio weapon was successfully deployed in the USA months before some unsuspecting American went on their tour of China thinking they will get over that mild flu in the clean air of Wuhan.

The USA health care system is basically designed to ensure that a pandemic will spread as quickly as possible, since the expense of medical care means people will actively avoid seeing a doctor unless they are literally dying.

So engineer a virus that affects wet membranes, limit its symptoms to “mild flu” and you will get maximal transmission even without propaganda suggesting that no action needs to be taken to control the disease because it’s not really that bad.

So in this hypothetical scenario it is not “360 dumb of the CCP” at all. They know how dangerous it is and how to contain it when it inevitably arrives on their shores. They have a vaccine but they won’t use it until a believable amount of time has passed. The future of warfare isn’t drones circling in the skies with guns pointed at the people on the ground.
Central Intelligence Agency
Because the real economic value of those jobs is less than a "living wage."

A delivery driver is not a skilled job. I know, I delivered pizza when I was in college. And that was before mobile phones or navigation apps so drivers actually had to learn their way around their delivery area.

If you have a drivers license and a car you can be a delivery driver. That's not a very high bar. So those jobs don't pay very much.
Humbug. Yes, in Estonia, all invoices above EUR 1000 have to be declared. Bank accounts etc. do not have to be submitted and there is no real-time access. The reason for the law is VAT fraud that basically dropped after its introduction. No averse effects have been reported.
You think a consultant in Switzerland or US will bill you by bargain rate because you are in France?
Locust – Open-source Load Testing Tool
https://en.wikipedia.org/wiki/Memristor#The_memristor_as_a_f...

> Chua in his 1971 paper identified a theoretical symmetry between the non-linear resistor (voltage vs. current), non-linear capacitor (voltage vs. charge), and non-linear inductor (magnetic flux linkage vs. current). From this symmetry he inferred the characteristics of a fourth fundamental non-linear circuit element, linking magnetic flux and charge, which he called the memristor. In contrast to a linear (or non-linear) resistor the memristor has a dynamic relationship between current and voltage including a memory of past voltages or currents. Other scientists had proposed dynamic memory resistors such as the memistor of Bernard Widrow, but Chua introduced a mathematical generality.
Is it? The post I responded to was saying the company makes 2.5 million a month and they got a pat on the back. Sure, no one is asking for exactly what the company makes, but the implication is always they should get paid proportionally to the company's additional revenue due to their work. I'm just saying that's not how it works.
Wikipedia has a pretty good explanation to your question how the memristor completes the quartet of inductor, capacitor and resistor among the differentials I, V, Φ, and q.
Where is this function stored?
Yes, but first you have to enable SMS 2FA.

When you set up MFA, it doesn't provide TOTP as an option. If you enable it with a phone number/SMS MFA, you can go back into the MFA options and add a TOTP device then remove the SMS option.

Of course, at that point they still have your phone number...
>>Poverty existed literal millennia before KYC. Sure, it'd be great to just end poverty, and when you do that we can talk about ending KYC.

Maybe you're not understanding what I'm saying, because the above has absolutely no relevance to the point I made.

Another attempt:

Poverty declines faster when economies grow faster. The financial exclusion created by the crude AML/KYC surveillance/risk-management measures you're advocating harms economic development and thereby slows poverty eradication. This in turn slows the eradication of vices like human trafficking, which are largely an outgrowth of poverty.

>>There's a difference between putting a Muslim ethnic minority in concentration camps

Strawman. The Communist authorities who you are emulating do more than just put a Muslim ethnic minority in concentration camps. They also impose a mass-surveillance system on them.

https://www.hrw.org/video-photos/interactive/2019/05/02/chin...

They justify these invasions of privacy with the same kind of anti-terrorist rhetoric you're using. You're in the same ideological boat as them, and display the same callousness, which is characterized by comments like this:

>>And yeah, that sucks for the people who were just trying to survive, but that failure is entirely on Somalia and Amal

KYC goes against liberal democratic principles like privacy and due process, and should be opposed if you believe in these principles. It stands to reason that it does far more harm, in all respects, than good.
Sorry but I'm with _vertigo on this one. Maybe it could have been slightly more tactfully worded but I would not classify this a 'haranguing' and _vertigo makes a very salient point. There is no shortage of questionable material and businesses that are allowed to be monetized and advertise on Facebook. It seems that this particular company may have become too high profile and is being punished not for violating Facebook's vague terms of service but for the risk of bringing light to it and unwanted scrutiny.
You should keep it all on paper instead, because nothing ever happens to that. ;)

I do think there is substantial room for a kind of "major provider reset" service, similar (at least) to what banks do physically. Lost your account access? You need to GO to a place, be on video, have an ID check done, multiple forms of whatever identification. It costs to do this kind of thing, and as a last resort I'm pretty sure most people would want to pay it, instead of losing account access.

Your argument seems to be "It would be massively inconvenient to lose access to these things so instead I will not have these things."
Ferrum Health | REMOTE (EU, Mexico, South America, Canada) | Full Time | Infrastructure Engineer, Software Engineer (Platform) | https://ferrumhealth.com

Medical errors are the third leading cause of death in the US, and Ferrum builds AI-powered monitoring systems to help health systems detect and address mistakes before they affect patient care.

Ferrum is a fully remote and distributed company focused around the US West (UTC-08:00) and Western European (UTC+02:00) time zones. Since launching its first offering for lung cancer errors two years ago, Ferrum now covers over 10 million patients at ten health systems around the world, including the US. The company is backed by multiple top-tier venture capital firms and is led by an experienced digital health founding team that includes industry leaders in enterprise healthcare, machine learning, and edge infrastructure security.

We are looking for two roles.

Our Platform team is looking for a senior/mid-level platform software engineer with a strong understanding of Linux networking, storage technologies, and deploying Kubernetes in production environments. As a Platform Engineer, you would be responsible for delivering a scalable, distributed orchestration platform and using Go to develop applications for the platform end-users.

Our Infrastructure team is looking for a senior/mid-level infrastructure engineer with a strong understanding of using Docker containers in release management and configuration management workflows on GCP. As an Infrastructure Engineer, you would ensure best practices and procedures while improving CI pipelines and ensuring stability and security of our systems.

You would be joining a small engineering organization that has proven track records of delivering solutions in the networking, storage, and machine learning spaces.

Our ideal candidates have proven technical skills in addition to a passion for improving the quality of healthcare.

Additional details and descriptions can be found below:

- Software Engineer, Platform: https://ferrumhealth.com/jd-software-engineer-platform

- Infrastructure Engineer: https://ferrumhealth.com/jd-infrastructure-engineer

To apply, send an email to jobs@ferrumhealth.com.
Should devs learn UX/UI in 2021
Writing unit tests _is_ part of the interactive development style in Smalltalk. In fact TDD arose out of a lot of (ex)-Smalltalk developers. When you have an environment as mikelevins describes, where the debugger allows you to author-as-you-go, you can start by writing a test and fill in the implementation and have your test go green, all in one very tight loop.

You actually can run a bunch of unit tests in Smalltalk with a single-click, get results, and be dropped into a full authoring environment when tests fail, with the bonus that you can just fix the code and resume execution to have the test go green. Modern Java IDEs can probably do this (I've no experience with Java), but you've to understand that this was possible in Smalltalk several decades ago.
> Not the way I understood it. Inertia implies the world is divided into cells numbered 1 to N, and people don’t move from X to X + 1 unless they report, say 5, consecutive times from X + 1. Overlapping systems remap the cells 1,2,3 to 1; 2,3,4 to 2 and so on. So if someone oscillated between new no. 1 and new no. 2, you’d still have no of knowing whether they were in old style cells no 2 or 3.

Hmm yeah I meant overlapping cells then, not inertia based ones.
PixelCraft: A Pixel Art Editor
PixelCraft is pixel Art & Animation Creation Tool Built using HTML5 Canvas.
It is a Progressive Web App (PWA) with offline compatibility.
It is mobile-friendly and is very easy to use.
https://github.com/rgab1508/PixelCraft
Agreed. The advice from K&R applies, "the way to learn a new language is to write programs in it."
Note that modern Smalltalks allow exporting code out to plain text files so one can use Git and code review tools just like any other language.
> Union contracts with the company typically bar the company from keeping or entering contracts with non-union workers that have different terms from those of the union.

I believe that's incorrect. IIRC, the contracts apply the specific classes of workers at specific locations.

I have a friend who works in HR and I know for a fact that their company has different locations that do similar work: some are nonunion, some are union, and the union locations do not all have the same union.
The dollar has been weakening relative to other currencies since April. See the DXY chart.
1. As others have pointed out, the default font size is way, way too small. Not readable on a phone, barely on a computer monitor.

2. Please try your site on an oldish iPhone, like an iPhone 7, in landscape mode. You give about 2cm of space for the scrolling content. The problem seems to be keeping the "View example" button anchored on the bottom of the screen at all times, with a large fixed border around the button. This leaves no room for the actual content. When you actually click "View example," the resulting page renders fine on a landscape iPhone.

3. Please try your site on a large 27" monitor in full screen mode. Your content's width is a fixed number of pixels and you end up rendered on a tiny sliver (about 1/5) centered horizontally on the screen. Please don't be one of those sites that has huge horizontal whitespace margins (I'm looking at you, John Gruber). It's a terrible web trope. Consider using the whole width of the browser window, or most of it.

4. I also agree that headshot photos should not be part of this product. Dare to be actually different from LinkedIn.

Please post here again after some iteration, this thing has promise.