skysight-inc/HackerNews huggingface dataset:
To the high performance operator, inefficient bureaucracy has been a recognized thing for millennia.

The associated deadlines, proven over millennia to never be realistic.

Regardless, this is the mainstream, and this is how institutional projects are built and at institutional speed, i.e. sluggish. You know, like a snail without a shell.

Alternatively, for an equally long time now, in a certain way nature has favored those few individuals who have the instinctual need for non-sluggish, dare I say "fast" myself.

These are so hard to find that most time-sensitive projects simply start without them and substitute traditional deadlines and bureaucracy in order to measure long-term progress which would otherwise not be apparent.

When what is really needed is leadership from the top down building the team exclusively hand-picked for the very instinct which has always outperformed mainstream operation. But it takes one to know one.

When everybody on the job has always had the knack for outperforming anything deadlines have to offer, you don't have to remind them you needed everything "the day before yesterday".

No need for (lack of) progress reports either, when the goal is moving visibly closer continuously and it's turning out not to be a long-term project after all.

Outliers will be outliers.
> But I just mean that not every language needs to aim to be a top 5 language.

I wonder about the extent to which this is true. One of my primary considerations in picking the language for a product is economic fit. Once you get outside of the top 10 or so, I think you need an especially strong set of niche-specific positives to offset the negatives of a small community.

As an example, for fun I've been working on a mobile app using Dart and Flutter. They are clearly targeting the niche of "mobile app developers who want to be cross platform and don't really care about it being a perfect iOS experience". Which is a pretty big niche, and Google has invested a lot in the platform, so I'm enjoying it. But library support is about 10% of what I'd want, so for things where in Python I'd have a few decent packages to pick from, in Flutter I'm often deciding between an under-maintained 0.0.7 and rolling my own.

If I were doing this for real and with funding, this would at least be a risky bet. Maybe we save 20-40% on our mobile dev costs and , maybe we get screwed by Google's fickleness and have to rewrite everything. Does that offset the extra recruiting and ramp-up time costs? Are good mobile devs willing to work in a less marketable language? Will Google dessert-topping-and-floor-wax it to death in service of internal political goals? Etc, etc.

Scala's in a similar bucket for me. I tried it out and liked it well enough. It's certainly reliable; I wrote my home lighting system in it and the only failure I've had in 3+ years was when Kubernetes shat the bed. But I'm of a similar mindset to Eckel on this: when it's good it's good, but it has a lot of cliffs that I found it very easy to stumble over. [1] Add on top of the hiring problems, and I'm wondering in what niches the economic case is strong enough. Especially so if it's going to keep dropping in popularity.

[1] https://www.bruceeckel.com/2015/08/29/what-i-do/
This is not correct. Your rib cage and skull are scarcely able to contain the immense pressure at 130 ft. When SCUBA diving, you inhale air at the same pressure as the water at your current depth, there's no force on your rib cage. When free diving, your flexibility allows your organs to compress into the space previously occupied by your lungs.

A fish's swim bladder is full of air that's been extracted from the water. As long as they don't go up and down too fast, they'll be fine at whatever depth.

But the other side of the equation is the partial pressures of various gasses dissolved in the blood. Humans experience nitrogen narcosis and oxygen toxicity just from breathing regular air and need special mixtures, fish need special biology to cope.
Same here, after I wrote my comment, my next thought was what ways there could be enabled to have similar content on Wikimedia projects. The rules around Wikipedia projects (encyclopedic content, an article content narrated along an axis, as in meters here) and moderation are the hurdles from my POV.
But then again, maybe it's simpler/better to have folks taking free content, putting it in a narration on their sites and linking back to Wikipedia as part of distributed Web.
The critical problem is not the instrumentation, but the way how BugJail works: it doesn't dumb the raw events to disk, instead it reconstructs relational model of the program execution. This requires resolving raw low level events against schema of types/methods/fields/etc. With JS the schema is dynamic, so now the already hard 'reverse-engineering' has moving target. Not impossible, just hard.

And thanks for the pointer to GraalJS/Truffle, I'll have look and perhaps that provides great way for doing the instrumentation side.
So story telling that follows conventions of good story telling than random deus ex machinas and flux capacitors saving the day

I dont think Science Fiction needs a subcategory for that, just a meter of timeless storytelling conventions
If there is no need in using replaceAll() with regexes, why would it even support it?

I agree that only replacing the first occurrence is the wrong solution. That would be surprising. The only correct solution to this is in my opinion auto-g-ing the regular expression, no matter how unusual that is. There is no way you would write replaceAll() as a mistake when you actually just meant replace().
So you are saying we should assume the same for China and Huawei?
I can relate and agree with this sentiment.

Sure, not everything is applicable but the solid foundation goes a very long way.

I also see others fail at some tasks because they are not able to understand the foundations. Not saying it would be solved by going to university, but it might have helped to study it without tight deadlines and in a world where nobody has time to wait
Scala 3 has been around for seven years on Github https://github.com/lampepfl/dotty/commit/2308509d2651ee78e11...

Scala.js and Scala Native will support Scala 3 eventually.

SBT isn't nearly as bad as it used to be. It's an open question how much more it will "improve".
Try a wacom tablet. The only thing that worked for my wrist pain
I don’t understand your criticism. Are you criticising JavaScript for getting a feature you would assume it already had?
The article is about mistakes. Women don't make mistakes. Old, white, anglo-men are resposible for everything wrong. /barf
Wikimedia projects are not limited to strictly encyclopedic stuff. A visualization about the deep sea could easily be allowed on Wikiversity, which is intended for miscellaneous educational material that doesn't easily find its way elsewhere. The biggest obstacle would be technical.
I usually try to open it in reader mode in the firefox mobile app, that tends to cut to the meat in articles like this. As a bonus it also creates an instant dark mode.
It's unfortunate the underlying technology hasnt seen much adoption since then. I think thus far a key problem has been displaying images in a way that leverages the new capabilities. Im still optimistic that video for VR might be what drives light field tech in the future.
>China is ruled by a Communist party and they subscribe to communism

That's just outright incorrect.

https://www.wikiwand.com/en/Socialist_market_economy#/Market...
Yes indeed, that's a bug-prone misfeature of Python.

Perl and JavaScript both get default arguments right: They make a new array on each call.

Perl and JavaScript also get the for-loop closures right as well. In Perl, "for (my $n = ...)" and in JavaScript "for (let n = ...)" will both create a new "cell" each time around the loop, so closures work as expected.

(However, MSIE's version of "let" doesn't create a new "cell" each time, and this can be a source of difficult to see event callback bugs; best transpiled out.)
You have to keep in mind for these companies keeping the customer happy is not the intent. It's merely a coincidental side effect of any potential profit seeking they do.

The only people they really care about and are accountable to are the shareholders and investors. And they want infinite profit at the sake of everything else. If you want to solve this problem then you need to remove them from the equation entirely because given enough time they will run a company into the ground and run away with the proceeds.
Ask HN: What is your financial “setup”?
I've gotten a lot of good recommendations for software from this community - most recently AVRFuses and pyenv. These both focus on being simple and "doing one thing really well". They're tools and don't require much active thinking to use them regularly, which I really like.

I'm trying to get my finances set up better, and I'm wondering if anyone can recommend a "setup" of bank account, credit card(s), investment platform, budgeting tools, etc along these lines. Ally Bank and SoFi seem good, as does Wealthfront, but I'm just not sure if I'm using them right. I have Mint but it spams me with notifications and I'm not sure what exactly it does for me. Credit cards feel stressful to think about with keeping track of what to use for what purchase or making sure they're all paid off - I recently got a Citi card and the app alone makes me want to get rid of it.

Does anyone have a "setup" for how you manage your money that you really like? Anything that follows the "don't make me think" philosophy?
Absolutely. My company's been experimenting with different ways to measure apprenticeship candidates than regular ones. I had a group task, a short project/presentation, and an easier version of a whiteboard interview. Trying to measure ability to learn was the main goal.
Mustache Fashion Covaries with Good Marriage Market for Women (2001) [pdf]
That feels like a sentiment from gentler, single-user time. Unless Smalltalk has grown some serious security chops in the interim.
The other bit of that comment is also very insightful:

"I would say that a system that allowed other metathings to be done
in the ordinary course of programming (like changing what inheritance
means, or what is an instance) is a bad design. (I believe that systems
should allow these things, but the design should be such that there are
clear fences that have to be crossed when serious extensions are made.)"
Are they the dark army?)
The Provision of Non-Strictness, Higher Kinded and Ranked Types on OO VM (2006) [pdf]
A great visual example of messaging / sharing between two 
apps
 tools is in "Alan Kay's tribute to Ted Nelson at "intertwingled" fest": https://youtu.be/AnrlSqtpOkw?t=607
". . . die on our own terms rather than on nature’s."

Have you fleshed out what that might possibly mean, or how that could ever happen? Unless our body/mind is "naturally" declining (i.e., because of nature), there would seem to be no reason for a well-functioning person to choose to die. Nature is always going to dictate the most important terms.
Besides, they're not just volunteering for dying, but also for killing.
My terminally ill mother wanted to end her own life. What would it take?
Blizzard to Take Down StarCraft II Community APIs, Blames Data-Protection Laws
I actually got my first IT job by responding to an ad on Craigslist. At the time it seemed to me like the sort of “guerrilla marketing” that a company I’d want to work for would do. This was in 2008.
For me, the definition is basically: it's a full time job, but you're being paid to learn instead of being paid to deliver. Most of these companies are investing in apprentices with the hopes of hiring FTEs in a different way.
> The agreement outlined the damages that would be assessed -- the proceeds from the publication.

But that's the issue. When the contracting party is the government and the "damages" for not abiding by a prior restraint are calculated to precisely coincide with any incentive anyone could provide to supply the information to the public (i.e. calculated to provide disincentive rather than compensate for actual damages), it's infringing on the right of every member of the public to pay for the information -- and those members of the public never agreed to any such contract. Especially when the restriction is specifically being imposed on the purchaser rather than the recipient, since the recipient isn't even in the court's jurisdiction at the time of the payment.
I couldn't tell which community you were talking about there. I sometimes feel like this community dresses up its expression of base, emotional instinct and herd mentality by trying to pass it off as logic and rationality.
I just read that article couple days ago. Incredibly difficult, and I get stuck wondering what it'll be like for me and make myself tear up.

I highly suggest subscribing to the New Yorker. It's not cheap, I renewed my subscription gift for my sister which was $150 for the year, but there is really great writing in there, and it's fun to have something like this type of writing to look forward to coming in the mail each week.
I think china views the concept of separation of companies, the government, and the military as a western notion. The ecosystem is fundamentally different from in the US, and western observers dont seem to be aware of this.
Google forbids login with niche Linux browsers
I don't think so without modifying the string or regex each iteration. You'd have to do something like

let flagified = new RegExp(original.source, original.flags + "g")

or modify the regex standards as part of the proposal.
This is really cool. I showed my son and they use it in his science class.
Homelessness in the U.S. rose for a third year, driven by a surge in California
Snake oil ;)
I believe the trial it refers to is a civil class action case relating to the UK Post Office "Horizon" IT system, which falsely accused hundreds of postmasters (managers of local post offices) of theft. This case was settled this month, ruling against the post office to the tune of £57.75m [1].

The very lengthy judgement[2], does have an appendix going into technical detail, and page 17 onwards contains an interesting and long discussion of "the meaning of 'robustness' ".

[1] https://www.theregister.co.uk/2019/12/12/post_office_horizon...
[2] https://www.judiciary.uk/wp-content/uploads/2019/12/bates-v-...
I went similar route after discovering Google Checkout refuses to return my YT comments. I wrote quick&dirty tempermonkey script logging submitted HTML forms (addEventListener "submit").
libgnomeui-dev was available in wheezy sources. But I had an issue with #include<asm/page.h> in src/linux/proc/ps.h. Replace it by #include<sys/user.h> for successful compilation.
>Specifically, I recommend TV shows, radio shows, or podcasts that are aimed at younger people (maybe 8-20 — younger than that has some strange kiddie terms, and older usually gets you full on adult language).

Do you have any specific shows or podcasts to recommend?
Don Knuth – “Pi and the Art of Computer Programming” (2019)
I'm sorry, but what does squeezing jobs have to do with:

1. Drive MCAS with only one AOA sensor.

2. Don't tell MCAS to look for (or even think about) bad AOA data or AOA disagreements.

3. Equip airplane with two AOA sensors as usual, but make the AOA disagree warning light a "value added option" that customers have to pay extra for.

4. Don't actually bother to tell pilots that they don't have AOA disagree warning lights.

5. Don't bother to tell pilots that MCAS exists at all.

6. Don't test MCAS subsystem to see what it actually does with bad AOA data.

7. Give MCAS a ridiculous amount of control authority, operating cumulatively over repeated applications to exceed what the pilot can manually override.

8. Change how the trib stab switch has been wired since 1966 and not tell pilots.

How any engineering team let this through is unfathomable. Don't blame the MBAs or the unions. Didn't these guys get the lecture about the Hyatt?
Have you looked in the Oakland Chinatown?
Friendsweekly – A weekly newsletter to stay in touch with people you care about
Hmm...the argument names seen in the method don't leak in Smalltalk.

They do in Swift's attempt at a keyword syntax.
How to pick hashtags for more comments to boost your content on Instagram
Sounds like a ui/x toolkit library mismatch. I've seen similar issues with Java gui apps under Linux (long ago though).
Wow, I didn't get online until a got a 300 baud modem around 1981 but I remember dialing into CBBS once. I remember because I was on the west coast and it was in Chicago so I just dialed in to say I'd connected. To minimize the cost I got my dad's stopwatch out to ensure I hung up at 59 seconds exactly.

What I find fascinating now is that I was able to connect, read the greeting, look through the main menu and leave a note in whatever counted as the 'guest book' - all in 59 seconds at a connection speed a decent typist could beat.

Yesterday, I turned on my XBox One for the first time in several months so a visiting pre-teen could entertain themselves while his parents chatted. It took more than 20 minutes to atone for the crime of not turning it on for a while. First, it demanded a 'mandatory OS upgrade' followed by a reboot, then that I re-login and verify an MSFT account I never use (despite only wanting to run one game from a DVD-ROM already in the drive). Then the game itself wouldn't run until we completed a mandatory update download even though it worked fine last time it ran and we didn't try to do anything online.

BTW, not just bagging on XB. My PS4 pulls the same shit. If one of the next gen consoles coming soon advertised a "Just fucking load this media and work" mode, I'd choose it solely for that reason.
I'm a physics and computer science high school teacher, I think lecture takes up about 5-10% of my classes. This is not unusual in high school. (I'm in Los Angeles)

On the other hand, when I was a student in college it was about 95% lectures.
Check Elixir's Ecto module https://hexdocs.pm/ecto/Ecto.html

The general idea is to build the transaction in a pipeline of function calls. Each function gets the old definition of the transaction as an argument and returns a new one. Eventually the call at the end of the pipeline executes the statements in the definition, wrapping them in a transaction.

If the question is how to deal with 100 or 100 k concurrent transactions, the answer again is in the same way a cluster of servers running programs written in any other language do. Eventually SQL is SQL.
Wren is a small scripting language with a bit of Smalltalk flavor, though syntax is more like Ruby. It's written by the author of Crafting Interpreters so if you've read that (particularly the C chapters) you'll understand quite a bit about the implementation.

http://wren.io/
Absolutely. The long term plan is to do separate edition "BugJail for CI/QA/SIT/UAT/PreProd/etc", so that when things-are-not-fine on server, you don't need to repro but just load the capture in BugJail and see what happened [edit: that in addition to your "post CI build step" use case; both uses seem compelling].

But the current beta version is not robust enough and doesn't handle long captures well enough. I want to make sure that BugJail doesn't waste people's time, hence the license allows only capturing from local workstation.
Real Estate Agents and the Internet – How to Buy and Sell Real Estate Today
It helps if you explain in what way
I don't see any confusion here. Huawei knows what's up, as does the US Government.
Btw, LuaJIT is certainly not dead. Mike Pall just recently added lots of commits. https://repo.or.cz/w/luajit-2.0.git
I think that apprenticeship was always better than the classrooms, but we were forced into the classrooms by the circumstances of the modernity: massive population growth and urbanization. In the 19-20th centuries we simply couldn't afford to have master-apprentice relationships when masters were few and pupils were many. Also quantity was preferred over quality.

Nowadays apprenticeship is seeming more feasible, with current demographics and preference for quality labor.
The international additions cost less than $30 and are profitable enough to print.

So what's changed since the 1970s is that the market has been captured and book publishers can charge anything they want for books because you fail the class if you don't have the latest book with the one time use code for the exercises on the website.
Kotlin is not the future of anything. They got the Android boost and still, two years later, all they have to offer is a molasses-slow improvement pace and a shitty dev experience in their signature IDE (which also happens to be made by the same company).

Last time I tried to create a Kotlin project in IDEA, it couldn't provide type information on hover. The Kotlin dialect of Gradle was barely supported enough to be called a "third-class citizen". It's super embarrassing.
Hey, I'm Bart, author of the blog post that got linked in this HN. :)
Your points re error diffusion being way better are true; the difference is night-and-day, especially on some thin features / lines.

At the same time, error diffusion is not GPU-friendly at all, especially in arbitrary pixel shaders due to its sequential pixel dependency chain (pixel xn, yn usually requires computing errors for pixels xn-1, yn; xn, yn-1 etc.). Those are much better implemented as recursive filters on CPU or even in hardware. There are some hybrid algorithms that work in tiles, but then require compute shaders and more sophisticated engineering (~orders of magnitude slower and impossible to compute "in place").

While writing that blog post series I was working in video games industry and therefore focused on real-time scenarios and "tricks".
Sino bashing is apparently an acceptable form of racism in 2020. This is no different than the "jap bashing" of the 80s.

What coercive things China does do, is mostly for internal stability, a few small border disputes with neighboring areas that were arguably at one point Chinese, and to maintain harmonious trade arrangements. It's a kitten compared to what the CIA has done internationally.
> Share what you have to learn the hard way; the effort won't be wasted.

Document something that's ubiquitous but no one understands is the lesson I took away.
I was super surprised by the penguins, the emperor penguin dives 500 meters deep? That's impressive
Wow, that was a more visceral experience than what I anticipated. I felt more and more uncomfortable the deeper I went...
Conclusion: I’d rather go to the Moon.
Imho that's not really correct, or at least misleading.

In Python, variable "foo" behaves like its value is a non-reference if the value is what some languages call "unboxed", for example numbers and strings.

That's exactly the same as Perl.

Technically, Python shares objects even in the case of numbers being copied around, and the object's address is visible with the "id()" function.

(I emphasise address because that was a criticism of Perl in another comment, but everything in Python is memory with an address as well and the criticism ought to apply more strongly because even numbers need memory allocation.)

However, the fact that numbers are immutably-shared when assigned in Python doesn't make their behaviour any different from numbers being assigned in Perl (apart from the obscure id()). It's hard to imagine what "problem" is created in Perl by the fact that numbers and strings are non-references. Most other languages do like Perl.

With strings, Perl does both according to a performance heuristic: Sometimes it copies, sometimes it shares. This is completely safe because you can't tell the difference at language semantics level anyway.