skysight-inc/HackerNews huggingface dataset:
> How do you disambiguate that from a function call? It's now just abusing ()

You don't. If you apply an integer to an array, it will return an entry. To me, it makes perfect sense to use a(i) instead of a[i]. In fact, in case you need some more complicated data structure to organise your data one day, you could switch to a function call for lookup without rewriting the code that uses a(i).

The question is not 'how do you disambiguate?', but 'why do you want to distinguish?' Because an array is just a special case of a function that maps an integer to something else. It is logically not different from a function with a large contiguous switch statement.
The risk has a cost, yes, but it's far from clear that tenants will be the ones who end up paying it. Not all businesses get to pass all costs to the customer. Sometimes customers win and the business has to live with reduced profitability.

I'm sure that landlords will play the "tenants pay" angle in the media, but the more vigorously they play it the more I will suspect it isn't true.
These are ideas are implemented in the theorem prover HOL light https://www.cl.cam.ac.uk/~jrh13/hol-light/

I find the discussion in of logic in https://sites.math.northwestern.edu/~richter/HolInformalMath... more concrete and more accessible.
https://news.ycombinator.com/item?id=22141526
I wish this were true, because i was apart of a boring company ... doing impactful work for private/public orgs, but do appreciate your thoughts - so thanks for writing them.
Evidence based medicine isn't under fire because it objects the injection of random compounds as vaccines (pretty much everybody does), it's under fire because of its position on masks.
Comparing startups against small/mid-sized businesses is like comparing a lion cub against a house cat. People see them as the same when they look like they are equal, then their paths quickly diverge when/if growth kicks in.

Many, many businesses are suffering in some way, and startups are not impervious to it either - a major question is who is able to suffer through this longer in order to come out the other side alive. The advantage of startups here is that they have more direct “supply lines” to capital to “hold out through the winter” whereas businesses relying on government help and bank loans are not in as good of shape to survive when depending on indirect third-party capital.

Long-term, this sucks the most for non-venture backed companies if they can’t hold out and die, or make it through and are hampered with debt so much that they are handicapped from returning to normal for quite some time. Conversely, I think this is where investors and venture-backed startups will see an opportunity to thrive because they could easily “sink the damaged ships” and corner markets in a new wave of cheap M&A deals and market share growth.
> The ignorance of cobol is not the blocking point.

> Ignorance of the details of the NJ system is the great challenge.

This seems very plausible. But on this analysis, what's the point of trying to hire "COBOL programmers"? We've just stipulated that the COBOL is easy. Onboarding an experienced COBOL programmer is only a trivial savings over onboarding someone who's never heard of COBOL; they'll both have to learn the system -- but the pool of experienced COBOL programmers is much smaller than the pool of "everyone".
How do you get around the number of fetch limitations?
Thanks, it's been a while since I checked in on it. Good news. Cheers.
I've been using this https://www.youtube.com/playlist?list=PLVEltXlEeWglGINo25GxV...

It seems like after the pandemic there will be a lot of new gophers
What if it's config for CI (i.e. Jenkins)? In that case your "config" needs to support branching ("build this if master else build that").
You should look into Fabric.js, it makes working with an html canvas much easier, especially if you are animating it.
How to be happier! I'm taking "The Science of Wellbeing" on Coursera
Upping my game on Big Data (and incidentally ML) in the Cloud with "Google Cloud Platform Big Data and Machine Learning Fundamentals" (https://app.pluralsight.com/paths/skill/big-data-foundations)
Small companies paying more implies larger companies aren't paying a fair share. It's the same narrative, either way. The reader is going to apply their own world view regardless.
That. Exactly.
Not a duplicate, but related from 11 days ago: https://news.ycombinator.com/item?id=22689959

2015: https://news.ycombinator.com/item?id=9914534

2016: https://news.ycombinator.com/item?id=11153406

2017: https://news.ycombinator.com/item?id=14191186
USDA Statement on the Confirmation of Covid-19 in a Tiger in New York
I made a manual translation of this text into English further down in this thread, at https://news.ycombinator.com/item?id=22788461.
GIGO is a good principle to keep in mind, but nobody's numbers can be absolutely trusted here; every government has incentives, both from good motives and ill, to make things look as good as possible—and even when there is no conscious bias, various decisions will at least mean that numbers from different countries are probably not really comparable. Thus the normally scientifically sound principle of not allowing in suspect data is indistinguishable, in terms of its effect, from simply ignoring the available data. Better to regard the data as suspect, and do as much statistical analysis as possible to deal with it.

(I think, for example, of data gathered on the enemy during wartime, which are also constantly somewhere between unreliable and falsified; but we use them anyway, knowing that they cannot be completely trusted.)
Implementing it is the fun part! You might like going through the Raft lab in MIT's distributed systems course: https://pdos.csail.mit.edu/6.824/labs/lab-raft.html

+ Jon Gjengset's writeup on some of the "gotcha"s: https://thesquareplanet.com/blog/students-guide-to-raft/
It's easy to lie without lying.
As a society we replaced any sort of value for our value proxy, money.

So truth ethics etc. are all secondary values.
It's mildly irritating that the concepts of explanations like this (and almost all others) are based on a false understanding, through the path loss equation and the law of reciprocity, of the underlying physics of antennas.

While this kind of approach allows for the proper engineering of antenna systems it is at least 50% wrong regarding the underlying physics.
Hmmm really? Can you point at some information so I can learn quickly how to add a non-trivial extension? Genuinely would love to, but not sure where to start!
I'm learning Go, git (and how to contribute to an opensource project/code with other people), also learning more about electricity and specifically the movements of ions. I have trouble finding resources on this though everything seems to be either really beginner level or way to high level for what I am looking for.
There aren't very meaningful benefits to scale in that business. It's labor intensive, and no critical central infrastructure is needed. Capital costs (those janitorial carts) and supplies are a lot smaller than labor costs.
CMD-F "<language here>", no result, close. You need a list of supported languages in that README.
Yeah, did my time working in consulting for state gov bureaus. Some of the worst working environments I've ever been in. Asshole, down-right criminal managers. IT actively pirating software. Computers literally falling apart.

Not sure you could pay me enough to go back. Maybe for something ludicrous, like $3mil/yr and mutual termination at any time. I could probably put up with it for 4 months.

These places that "can't find COBOL programmers" need to stop blaming universities and start taking a harder look at themselves.
Low interest rate is the major factor in the inflation of real estate, thereby increasing the inequality. Bump up interest rates, and reduce the risk taking.
+1 for Dark — I've been helping a friend with a side project whose backend is built on Dark, and it's very impressive. The request replay feature (being able to replay a previous HTTP request to an endpoint) and seeing step-by-step execution results is amazing.
Re: Scam
It's a shame favorites aren't exposed in the official HN API: https://github.com/HackerNews/API - this is a smart workaround.
Microsoft Access anyone?
I don't know what the state of CSound's SWIG support was when you integrated it with Java by hand, but CSound now uses SWIG to generate Python and Java wrappers. (I know what you mean: writing wrappers for something as complex as CSound for any language is an enormous tedious error-prone pain in the wazoo, which is why it's so nice to have a tool like SWIG that does it automatically for you.)

http://write.flossmanuals.net/csound/a-the-csound-api/

The cool thing about SWIG (Scripting Wrapper and Interface Generator) is that it supports multiple scripting languages (and other kinds of languages, since it's debatable if Java is a "scripting language"). It understands most of C++, so it can automatically read in header files and generate wrappers from them, but you can also tailor and customize the interfaces and how it marshals different data types back and forth, to create more efficient, convenient wrappers, too.

http://www.swig.org/

SWIG is the brainchild of David Beazley, Python hacker extraordinaire. His talks are amazing!

https://www.dabeaz.com/talks.html

https://en.wikipedia.org/wiki/David_M._Beazley

>David Beazley is an American software engineer. He has made significant contributions to the Python developer community, which includes writing the definitive Python reference text Python Essential Reference, the SWIG software tool for creating language agnostic C and C++ extensions, and the PLY parsing tool. He has served on the program committees for PyCon and the O'Reilly Open Source Convention, and was elected a fellow of the Python Software Foundation in 2002.
Porting http://imrannazar.com/GameBoy-Emulation-in-JavaScript to Typescript as a way to learn about how to write an emulator, as well as taking advantage of newer JavaScript APIs (e.g. requestAnimationFrame, ArrayBuffer etc) that were not available when this series of articles was written in 2010.

We had a gameboy as a kid, but the ZX Spectrum (also Z80 CPU-based) meant more to me so hope to take what I learn from the great articles from imrannazar.com and apply to writing a ZX Speccy emulator (the gameboy had dedicated-hardware for sprites etc so not everything will be transferable).

Yes both gameboy & spectrum emulators in javascript have been done already, but this is just for personal learning/fun/itch-scratching. It has been quite instructive both from a remembering-fundamental-cs-classes/how-computers-really-work perspective, as well as modern javascript
This reminded me of the Configuration Complexity Clock:

https://mikehadlow.blogspot.com/2012/05/configuration-comple...

Hacker News discussion here:

https://news.ycombinator.com/item?id=14298715
I think you underestimate the scope and scale of systems like this. And maybe overestimate the success rate of rewrites, made worse when the developers have no domain experience and a rushed schedule. Under the best conditions rewrites fail more often than not.

Maintaining legacy code isn’t always easy, but it has a big advantage over a rewrite: it works and satisfies requirements to some non-zero percentage, whereas imaginary code built with “modern tooling” does not work or meet any requirements. COBOL and old business systems aren’t that hard to understand.
When you say "not a strict subset of Python", is that primarily the stdlib changes? Are there any syntactic differences that mean valid Starlark is not valid Python?
The tutorial looks great. Thank you for a great work!
As I understand the requirement is not that fax is essential to the service, but there is a class of people you may shut out when you turn off the ability to fax.

It's why I'm very skeptical of anything cashless or requiring a smartphone, because there is, for the foreseeable future, going to be a population that can't participate in a cashless, smartphone society.
At least one large and successful tech company uses Python for configuration: https://muratbuffalo.blogspot.com/2016/02/holistic-configura...
Best Practices for Founders in the Wake of Covid–19
Geoff Mann wrote an excellent free guide to the GT. I had just finished reading Keynes when I came across it and reading it really made it “stick.”

https://www.versobooks.com/books/2499-the-general-theory-of-...
The Dutch oven basically acts as a little mini steam oven which contributes a lot to the rising. Also the walls for it to rise up.
Could you show an example of those "little extra symantics" which helps you with this?
Forming a mass consensus on what reasonable exemptions to the laws should be is exactly how the lawmaking process in a democracy should work... What I hear you saying is that we don't live in a functional democracy. I don't think, however, that individuals or cities selectively following laws is going to get us any closer to a functioning democracy.
Honestly, there's not much to learn there, you just need regular exercise to become better and better at it.

May I suggest setting yourself a fixed schedule (let's say, one article published every two weeks or so) and sticking through it? Your initial articles will probably suck, but you'll gradually improve in the upcoming months.
Agreed, but there is a real cost to be borne, I don't think we can evade that. However LVT would have provided a quick and relatively fair way to reduce ground rent by N% across the board. Ratcheting it back up if/when "business as usual" resumes would also be easy.

My main point is that as the "underwriter" the state should also be the beneficiary, as society creates the location value, not the landlord.
i must concede that bailing out local bureaucrats who haven't been doing their jobs in order to help predominantly able-bodied dependents of the state is a slight improvement.
>the logic should go into the main program that reads the config and decides what to do, not left inside config.

if i follow your logic i should replace the 5 if debug statements in my config.js with 50 littered throughout my codebase. Also i lose strong typing and in line documentation.

edit:ill add im against emitting json from a config script, that seems like additional complexity. just reference a file, you can use json if and only if you need program interop and reference it from the config script
Video editing (Adobe Premiere Pro + After Effects) and Video streaming (OBS + Twitch).

I figure it's gonna be a while before we get back to normal. People will continue to crave attention and video is a more scalable way to disseminate your knowledge vs traditional meetings or Zoom calls.

I'm specifically looking at doing more analytical video game streams and educational Machine Learning content for the advanced n00bs.

Who we view as charismatic will change quite a bit in the near future since we can endlessly edit and improve our message before we share it with others.
I’ve come up with the following:

Watchdog Pattern: A orchestration needs to succeed. A watchdog entity checks up on it to make sure that failures are reported and dealt with appropriately (ie, refunding a payment if it fails catastrophically)

Circuit Breakers: Polly has their own implementation, but I found it easy enough to implement my own (don’t recommend in production, just use Polly)

No database: it’s a bit slow to get things done, but it’s amazing to create entities that don’t need to store state in a database. Paired with the watch dog pattern or preloading, you can have entities running “in memory” which may be faster than a dB lookup or the data could be projected to a db for analysis. I’ve been exploring this most recently.

Aggregate entities: these just count things, or store references to important entities that they count. This works amazingly well instead of COUNT DISTINCT queries.
Thanks!

There are 3 main reasons:

1) At least to me, "[Topic](Topic.md)" is the most typical case, where the name of the link is the same as the file name without the ".md", so I feel like not repeating the title twice is better.

Markdown supports "[](Topic.md)" but IMO the syntax doesn't look as nice.

2) Easier to distinguish between internal links and external links.

3) Personally, I think "[[note]]" blends into the sentence better.

[[wiki style links]] are not as portable as standard Markdown links, I have to admit that. We will support "[A File](a-file.md)" as well for maximum portability, and possibility provide conversion utilities if you decide to move away from the wiki style link syntax.
If memory serves me well, it kind of was: it was published on the BMJ Christmas special[1], which is more light-hearted than the "regular" issues.

[1] https://www.bmj.com/about-bmj/resources-authors/article-type...
Puredata and Max/MSP are great, but programmed in a visual dataflow style rather than a source-code style. Imo that makes some things much more intuitive and other things really complex.

The visual dataflow style is especially good for interactive stuff, where you're taking inputs and running them through chains of synths and filters, but it gets really hairy if you want to do non-interactive composition. People use it for that too, but you end up with huge banks of delay lines to simulate control-flow constructs, which in other languages could've just been a for loop.
I learned COBOL from the (then) standard text by McCracken back in the early 1980s. It’s not hard, a week or two for someone with programming experience.

The bigger problem is domain expertise (or lack of), and coming up to speed on the standards and idioms used in projects like this. Requirements and documentation likely out of date.
As a vim user, I am not an expert on org-mode. But on the zettlekasten forums, I read an interesting criticism even of Emacs org-mode as forcing a sort of lock-in

"[Apps like Roam and Notion] force you into a single-app interface with your data. Interestingly, even though it's a plain-text format, org-mode sort of fails here as well because Emacs is the only way to access most of the functionality of an org-formatted file."

-galen in https://forum.zettelkasten.de/discussion/404/moving-on

Could someone more familiar with org-mode comment on this?
Decided to reverse my long-time TODO list and start from the bottom because I realised I'd never get there otherwise. It feels so good so I advise everyone to go and do the same.

For me it looks like this, I'm working on a bootstrapped simple SaaS tool for devops (docker container monitoring):

- Clojure so I'm learning FP and Lisp

- Clojurescript/Reagent so I'm learning SPA/react

- MongoDB so I'm learning NoSQL

- Vim so I'm learning editing like a boss

- SaaS so I'm learning marketing (SEO/Blogging to start with)
Deficits are the most politically viable option. The wealthy oppose raising individual income taxes, and cutting benefits (social security, medicare) would be the third rail of American politics, so here we are.
How to run as much Fediverse and and IndieWeb software as I can. I want to understand the entire scope of what is possible today for a fully personal federated cloud, homepage, and social network. Along the way I want to understand what holes there may be and what approaches could bring more people onboard.

So far I’m having success and fun with Pleroma and Matrix.
Fetching Vendor Data at Scale with Serverless
If you speak French, there is a conference by one of Ubisoft's creative directors about the Might and Magic world building techniques and choices on the BNF's Fantasy podcast.
For playing with both networking and Linux, you should really look into dn42. It's pretty much an internet sandbox.
>>needs 100's of programmers - TODAY

If you haven't done it already, please read Fred Brook's timeless classic 'The Mythic Man-Month' (1975)
https://en.wikipedia.org/wiki/The_Mythical_Man-Month

Nine women can't make a baby in one month - classic wisdom that should be understood by anyone trying to organize and plan (like a governor).
I watched all but one of Lamport's videos on formal specification with TLA+, though I yet have to tackle some project with it.

Right now I got my hands on Tufte's "The Visual Display of Quantitative Information" as per some HNer recommendation (thank you!).

Yeah, I lose interest quickly, eh. There's so much cool things to learn that in the end I learn nothing well. Bummer.

edit: grammar, spelling
I totally agree... also, this whole article makes it sound like this person is writing their config a by hand. I don't know what their setup is, but most config where I work are generated by one system and consumed by another. I am not writing these configs on my laptop. We have code that pulls data from a service and generates a config for other systems to use. Having that system output executable code seems to be asking for complexity, security vulnerabilities, and unexplained behavior.
Usually, one would expect that the British PM would be treated at home; no question of non-availability of resource etc. Hospitalisation might suggest, then, some serious problems with, say, breathing - perhaps necessitating equipment not easily installed in his residence.
Hardware Solutions To Highly-Adversarial Environments
There’s two divergent approaches to learning, sometimes referred to as top-down or bottom-up.

Top-down begins with broad context, such as the history of programming languages, the advent of objects and classes, and eventually zoom in to modern languages, syntax and functions.

Bottom-up works inversely; maybe you’re given a Python sandbox, a hello world, and a cheat sheet. You explore what you can do and build on those low-level operators to create foundations that frame wider context.

Effective learning is always a mix of both. Everyone learns somewhere on the spectrum, maybe bouncing around depending on motivation and experience.

With respect to your goal of learning marketing, you’ve identified your path of study: strategy. And just like your SaaS product was created out of an understanding of functions and needs in a space, so too should your research explore the functions available to your business and how they’ll affect your pipeline.

Simplified: you have a tool, and since you have revenue, you know people want it. Your goal is to find questions to ask and answer them, and use that feedback to make decisions regarding your marketing strategy.

-What is my biggest source of traffic to my site? Where do they spend the most time? What causes them to click buy? How can I use these data to optimize my funnel?

-What is my total marketing cost divided by the number of paying users (CPA)? What’s their expected lifetime value? What do other products in my space cost?

-What do my customers and affiliates describe my product as? What problems disappear once they subscribe? How does this translate to value for decision makers? Do my enterprise sales represent 80% of MRR or 10%? Should I use multiple approaches to entities of different scale?

The questions you’re asking are the right ones. And like any other field, they multiply and become more specific - but if you bear in mind the top-down goal (spend less, charge more) of a business, things will crystallize quickly.
Honestly, it is 100% students/fresh grads. Recently, I copied a SQL query and spend few hours trying to understand it, then DBA reviewed it. I can't imagine anyone just going to copy/paste from stackoverflow. However, I just remember that Nissan mobile app had code copy/pasted from stackoverflow.

Going to read your old code takes some time to understand. Sometimes it even feels like someone else wrote it, but in order to provide fixes one must first understand it, then fix the bug. This cannot be copied from anywhere.

That subreddit is either very fresh juniors or cs students or people who are just getting away with being "that guy" on the team.