skysight-inc/HackerNews huggingface dataset:
I'm glad I'm not the only one. It's very common that I'll be searching for a keyword that only appears in the actual code a handful of times but hundreds of times in tests. GitHub's search is practically useless in those cases.

I almost always just resort to cloning and searching with ripgrep, which can be annoying if I have no other reason to have the codebase on my machine or it's just a one-off.
I've never tried to compile to WASM. It really depends on how much of the OS APIs need to be fixed. e.g., I don't think WASM supports memory maps as one example. In that case, ripgrep could be made to compile without support for memory maps with a bit of work. But that's an easy case. What other things does WASM not support? What about typical file/directory APIs? I don't think it does, or it least, it looks like Rust's standard library doesn't implement anything for them: https://github.com/rust-lang/rust/blob/master/src/libstd/sys...

At that point, it would be hopelessly difficult to build ripgrep. The right path then would be to build a new application that uses whatever of ripgrep's libraries make sense.

Popping up a level though, why would you want to compile to WASM? If you're using Node, then surely you can build an FFI bridge to Rust's regex library. At least at that point, you'd be using the same regex engine. I even maintain official C bindings for them: https://github.com/rust-lang/regex/tree/master/regex-capi

EDIT: Oh, and not sure if this is useful, but the regex crate itself should compile to WASM just fine. I know I've seen people run it in the browser before. If there's a problem here, then please file a bug!
A reality check may be helpful, assuming the person is ready to hear it.
The big change since you learned about order notation in school is that the things that used to be counted as N are now nearly free, compared to pipeline stalls. So, performance today is (meaningfully) measured against the count of those, instead.
1) no.

2) There are multiple organizations running DNS and the general consensus is that there shouldn’t be a single organization running it (except ICANN which is generally careful to delegate the root and TLDs to other organizations.)

3) Just because you have one bad thing doesn’t mean it’s ok to have two.
The Alomonso book in the little house on the Prarie covers this. All the scrambling they have to do to cover crops and protect them from the cold is just part of the story, but you realize that the bigger picture is them living through this summer.
Oh, I missed something in the explanation: it’s anger at yourself. Like anger or disappointment in yourself for not standing up for yourself in the past.

In that sense, it’s a self-grudge if anything.

But the main idea is that emotions have energy behind them, and you can harness them to motivate yourself.
The language and toolkit evolved in parallel. Self had unlimited prototype slots and that seemed like too much. The two we ended up with had specific names that reflect their intended purpose, which became clear as we wrote the toolkit and the apps that used it.

The idea was that you inherit from two things: the parent (normally meaning the parent view) so you can have variables scoped to a view hierarchy, and the prototype so you can inherit behavior.

The original Newton hardware had hardly any RAM (I think the NewtonScript heap was about 50k) and the prototype pointer was also essential to allow most of the object to reside in ROM (there was 4MB of ROM).

So bottom line, we had two specific reasons for prototypes and that became two specific slots. Self took a more general approach (it is a research language, after all).

I’d have to think a while about whether to do it differently now. As a comparison, look at the schemes JavaScript frameworks come up with for scoping data to a view hierarchy. In Newton that was just a straightforward variable reference.

Remember that NewtonScript was not intended as a general-purpose language — thus the name!
You could block its access to the internet with most home routers.
Okay, I'm sorry, I know this is a serious issue and people died but the year's alternative name 'Eighteen Hundred and Froze To Death' cracked me up.

But the most amusing part is how it affected culture. You can guess that agricultural shortages would lead to hunger and economic problems but it's kind of insane that it lead to the creation of "Frankenstein". Cause and effect is so interesting to follow.
Yes. Alcohol is sufficient, antibiotic treatments are useless against viruses.

Wet wipes may also be convenient.
Yes signals and systems is a theoretical thing which is not what the person is describing here. ME and EE's learn it, but it's largely absent from CS.

Type theory or Category theory is probably closer to a formal description of the "intuition" behind the article.
The article mentioned which repairs are done for free - warranty or good will.
> That equates to $60 per month maintenance

You mean $600/month? $29,000/48 = $604.16. And that doesn't include Tesla's free (outside of warranty) battery replacement.
This is just a guess from reading the article, but the A/C that was running non stop for years runs off of the 12V battery instead of being belt driven. There are many issues that occur when people take affordable passenger cars, (e.g. Camry) and drive them as taxis, that stem from not being used as designed.
This means there's no payoff for specializing because the project has no domain-specific idioms that help at all with clarity and concision—no matter what you learn and how fluent you get, all code will look like the bulky mediocre stuff a novice would have written.
Hilarious. Stealing this idea, thank you.
How did Dylan figure into all this? Did the platform vision include a number of environments or was the aim to arrive at one good dynamic one?
I think we are going in the expected direction, but we’re not at the end yet.

About brands, we’ve seen the rise of comparison sites and review videos that allows unknown products to raise to the top. I’d say that’s pretty in line with your expectations towards user reviews. We just have more experienced, less influencable/buyable reviewers (in general). For instance the top vacuum cleaner on wirecutter doesn’t need to be a Dyson to get recognized.

The main issue here is really Amazon messing with the supply chain and injecting fakes where they could be guaranteeing genuine products instead. In a sense, looking at a wirecutter like site and buying directly from the maker is the best of both worlds.
this is another Agile or DevOps
A lot of other apps that use asymmetric crypto to authenticate the other end allow for “trust on first contact” for establishing trust.

It’s a little disappointing that many browsers have no support for this whatsoever and most have very poor support for it.
About the same as the week we starred in Doonesbury — a combination of “ouch” and “omg we’re in the Simpsons?”
The New York City Bodegas Going Viral
Yeah, maybe I need to give people more examples.

Here's the first non-trivial one I made: https://en.howtruthful.com/o/nuclear_power_is_a_crucial_comp...

Here's one related to pg's most recent essay: https://en.howtruthful.com/o/essays_that_endeavor_to_be_pers...

Why didn't I put this long comment in the format of the tool? I thought in this case the logical structure of what I was saying was obvious.
Disclaimer: I would consider myself one of the developers who tries docker out every couple of years, but just can't seem to get it.

> the developer environment just doesn’t square well with whatever system is running your code. In the olden days of yore, this disparity was so great that we often had to tunnel in to an environment that was exactly like our production server

For web apps, I've gotten stuff working very easily across linux, freebsd, and mac os. Thanks a lot due to package managers, up to date library packages, and any python/ruby/node packages with c/c++ parts generally being able to find the header/.so files. Lockfiles (package-lock.json, poetry.lock) have gotten better as well, so I feel secure knowing that there won't be hiccups there.

Thank you for your comment on docker CLI.

I find docker commands more confusing and obtuse to work with than the commands of postgres, python, node, webpack, combined. All of them. Because it's about having to think about copying files, proxying against the file system, layers of containers. By the time stuff is running I feel so far away from the roots, I'm asking myself how much of a favor is this really doing?

The other thing is deploying these images is a lot of work compared to just running SSH commands via fabric, pulling code, and restarting services. I also think developers benefit from jumping in and wiring in the daemons themselves on whatever system. I think it's part of what fullstack is. It'll come in useful should stuff go wrong in production.

I also found my experimentation with docker inconsistent, even when I cloned projects from git repos with docker compose, I have a high failure rate. To the point I'd be happier if they just gave instructions for me to wire in the daemons and db myself. And when I google, I go down a rabbit hole of configurations and github issues that don't seem to fit (perhaps docker or docker-compose is out of date somehow? Or is it the project itself? Or me?)
The other battery replacement occurred at 158k miles. I'm guessing the third replacement that comment is referring to was actually the line item for refunding the 355k mile battery replacement, which (as I understand) isn't a third replacement.

So, two battery replacements in 400k miles.
It's fair because there's an underlying competitive issue: if said new project represented in any way a threat to those other entities, they would not, or stop providing the content.

For example, Disney has pulled their content from Netflix.
I think the general agreement is that there exists essential complexity - the complexity of the problem domain you are trying to solve - and accidental complexity - extra complexity introduced into code code by the tooling or by shoddy design.

Simple code often doesn't need a debugger to be understood. Complex code sometimes does. But code can be complex simply because the problem domain is complex.

Also, a simple tool can very well introduce accidental complexity than a more flexible (and therefore complex) tool. Go is famous for doing so with many of its design choices.

A very good example is if you want to perform a set union of two collections. In many languages, you could simply create a set from each collection and then run the union operation on them. In Go, the easiest way to achieve the same is to use maps and rely on the fact that the keys of a map happen to form a set, while ignoring the value part of the map entirely. This is not only inelegant, it is also unintuitive and it wastes memory, but is at least slightly less complex than writing a set data type for your struct by hand.
Amazon really needs a social review feature, I want to trust only my close circle of friends with vouching for a product or not.
True, but if it doesn't have power when you need it, what's the real impact? (Setting aside the inconvenience of, say, going on a flight and not having something to read.)

If your PDA doesn't have power when you need a critical piece of information, that's a real problem.
WASM support as in "you can run stuff you can run in GraalVM on WASM" or as in "you can run WASM on GraalVM"? I assume the latter, which is, frankly, relatively unimpressive. It would have been pretty amazing to be able to run everything available in Graal in the browser - but yep, Graal is not a standard, and I'm not sure it could ever be put into one (because of the insane complexity and implementation effort I suspect in there). Would still have been cool, though, one can dream.

WASM will still end up being a pretty universal platform however, with it being everyone's compilation target. A lot like Java, but maybe without some of the mistakes.
I figured. Though the fact that it was posted here I thought it was actually something some engineers were also interested in.
You're not selling anything made with Dreams, though. And anything you make is only playable by PS4 owners with a copy of the game. It's far more limited and not really comparable.
Thanks, that was very helpful. I'll check out eBay the next time I need to shop for something.
You can always rewrite a clone if throwing money is your finality.
> I believe a finely crafted native code solution for this problem could achieve x3 less ram usage and x2-3 indexing/search performance

Many people believe that about everything written in Java. The story often ends up a lot more complicated though. In the domains where it shines Java is surprisingly hard to beat without very significant effort. And then you must also contemplate what they same significant effort would achieve if directed at the Java solution or cherry picking particular performance hotspots out of it.
This is literally what the article mentions: "But the more interesting and perhaps telling brand of hatred comes from self-acknowledged fans of the adventure-game genre. These folks were usually raised on the Sierra and LucasArts traditions of third-person adventures — games that were filled with other characters to interact with, objects to pick up and carry around and use to solve puzzles, and complicated plot arcs unfolding chapter by chapter. They have a decided aversion to the first-person, minimalist, deserted, austere Myst, sometimes going so far as to say that it isn’t really an adventure game at all"
Not much, just that everyone is now offended by everything all the time. Oops, did I just offend anyone?
Going at a steady 30 mph on a straight, level road is not really something people do in my part of the world, so I can't say that I have experience to know what sort of gas mileage you'd get.

Edit: More research suggests that gas mileage should be similar between 30 and 60 mph, it kind of plateaus, but I guess that means power required would still go up proportionally. 10 hp is something I was remembering from reading something about driving at around 60, so I guess 30 mph should take 5 hp.
This is actually a good advice. Just remember to rebalance (not too often; in my opinion once a year is a good frequency) to buy more of what is low and sell some of what is high.
https://www.reddit.com/r/personalfinance/ have compiled a huge wiki (top navigation) for all life situations.

If you're not in the US note the country specific subreddits in the right hand box on https://www.reddit.com/r/personalfinance/wiki/investing

The recent "Ask HN: What are the best strategies for a new grad engineer to build wealth?" https://news.ycombinator.com/item?id=22274207 might be relevant to your situation (it talks about Silicon Valley salaries, not everbody has those).
Whoa. German libraries don’t mess around with the late fees I guess.
That's a hilariously small amount of relational data that your phone could probably handle with decent performance. I made larger databases than that back in 2005 on a single commodity server. I wouldn't be surprised to see PowerBI manipulating that in-memory on a desktop.

Microsoft SQL Server with Clustered ColumnStore tables would make practically all queries fast on that, especially if most queries are only for subsets of the data. PostegreSQL could probably handle that too, no sweat.

Also see "Your data fits in RAM": https://news.ycombinator.com/item?id=9581862 which would mean that you could do in-memory analytics of your relational data with SAP HANA or SQL Server if you really needed that kind of performance: https://docs.microsoft.com/en-us/archive/blogs/sqlserverstor...

You can spin up either SQL or HANA in the cloud or on Linux, so you don't even need Windows. Both can be connected to just about any other database you can name, often directly for cross-database queries. SQL 2019 is particularly good at virtualizing external data: https://docs.microsoft.com/en-us/sql/relational-databases/po...

10 gigapixel images are a completely separate problem. If you need individual images to be fast to view, you want some sort of hierarchical tiling like Google Maps does. If you're processing them with machine vision or something, then you want whatever makes the ML guys happy.

PS: I hope you're not working on DARPA's spy drone, because then please disregard everything I said and delete your data for the good of humanity: https://www.extremetech.com/extreme/146909-darpa-shows-off-1...
> Python is pretty performant if you're comparing it to Ruby. ;-)

FWIW, neither Python or Ruby are speed kings, but I think that you'll find ruby is on par, or faster than Python in many benchmarks. It is Rails that is renowned for its slowness.
Allow me to ask a stupid question: isn't there a simple cleaning routine to do to ensure long term corrosion free ?
As an industry, to mitigate such risks over the long term, we have to move to continuous restoration, which will require innovation in workflows, tools, and services.

I also think that we've begun a reassessment of just how much information needs to be stored, because "Data is a toxic asset." A lot of these systems have data they don't need mixed in with mission-critical data, which raises the complexity of restoration.
Yeah, that’s the plan I went back to when I realized I was way off track!
It’s confidence-inspiring that Apple hasn’t stopped software updates for AirPort routers (I have a 5th gen). There’s even an unofficial Python script that enables SSH, giving you root access to the NetBSD system underneath. So even when Apple finally does abandon it, it might still be possible to customize the Unix underpinnings.
Day-to-day percentages are the numbers to watch. They're coming down nicely: 0.8% vs. steady 20% (31-Jan - 4-Feb), as high as 64% in late January.

See: https://en.wikipedia.org/wiki/2019–20_coronavirus_outbreak#/...

Rest-of-world is going the wrong way.
When Steve Jobs Died at 56, His Brain Was Only 27
Buying a base laptop and taping an SSD to it was cheaper than upgrading the SSD
Probably could run the whole race but the need to recharge often would hinder it substantially. Notable Toyota entered a hybrid car in 2019.

https://en.wikipedia.org/wiki/Toyota_TS050_Hybrid
That's exactly what hooked me - I worked in a VR research lab while an undergrad and then grad student, and Myst came out just as VR was fizzling out. It was the most immersive thing I'd ever experienced without a headset - I would turn off all the lights and crank up the audio, and lose myself for hours.
I consider the main measure of quality for a problem to be how much it helps people, not the difficulty in solving it. This measure applies for entrepreneurial problems where you want to earn money, but most other fields too. No harm in solving little problems that affect no one, but for big life passions, I find that service inspires and motivates more than cleverness.

As my mentor Frances Hesselbein says, "To serve is to live." https://www.inc.com/joshua-spodek/6-lessons-lunch-best-leade...
There are a couple of HN tropes that are very similar, but not identical, to this idea.

1. "Growth mindset"

2. "90th percentile expertise in two areas is easier to achieve and more useful than 99th percentile in one"

This post seems to suggest "you should remain open to growing into a solver of problems whose hardness stems from being fairly hard in both technical and non-technical ways while not being extremely hard in either alone, because such solvers are useful".
Your number assumes the car is driven 100,000 miles a year, which would get it to 400,000 miles in 48 months (4 years).

The original comment assumed 10,000 miles a year, which is on the light end.
>Possibly that type of product is inherently unsuitable for online purchase.

You're confusing online purchasing with "Amazon's approach to online purchasing." They are not the same thing. It's possible to manage the supply chain when selling online just like brick and mortal retails already do. Of course, you don't make as much money in the process.
It looks like no one even cares about the drama of this.
I'd start with the physical level before addressing the psychological level, because it's simpler to address, and will likely make the changes you want.

Consider eating high protein, high fat foods. Drink a lot of whole milk. Lift weights daily and exercise. Be efficient with your lifting (focus on deadlift, overhead press, bench press, and squat) Take a break from smoking pot and other drugs.

Yes, this is totally bro science, but I can build up a scientific argument that muscle growth will increase testosterone levels, which in turn will lead to more aggressive behavior.

Or if you want a simpler solution, just get on testosterone replacement therapy. You'd want to consult a medical professional before supplementing testosterone.

I know this seems like a joke, but it actually works: https://stronglifts.com/gomad/
Well, although I worked on both of them, they really had nothing to do with each other.

To oversimplify, there was the “Senior” Newton project that was the outgrowth of what was going on when I joined in 1988 and would have been Dylan-based, and the “Junior” Newton project that I switched to in 1992 (?) to make a smaller, less capable, but faster-shipping product. Junior hardware was so much smaller that we had to do essentially a whole new architecture, which ended up having NewtonScript as the app language.

Had Senior shopped there would have been a compatibility later (presumably including a Dylan version of NewtonScript), but we didn’t get that far before Senior was eventually discontinued and everyone focused on Junior.
If the SAT has undergone changes, obviously someone intended to improve it. What they were trying to improve and what the consequences actually were, if it got better or worse, would be relevant to why it has problems now and what they are.
I don’t know if blatant trademark infringement and fraudulent misrepresentation makes for a valid secondary market. It’s crime.
META: I don't understand why some authors go out of the way to obscure important pieces of information:

* Who wrote this article?

* When was this written?

Was lucky to find this pieces of information in Github [1].

1: https://github.com/Vurich/troubles.md/blob/master/content/po...
TOFU has its problems too, but its neither here nor there; CAs have been a part of HTTPS and SSL since the 90s. This news item, to me, does not signify any shift in whether a third party is needed or not.
Going through the similar events sections shows that massive volcanic eruption -> famine -> political unrest has happened multiple times throughout history!
We Chose a Marketing and Application Monorepo
If you're in the U.S., your first investment should be to contribute to your 401(k) plan, if your company offers one. Especially if you get a company match from your employer.
From the the paper linked in the post: "A probability model is a tool for learning, not a suicide pact."
What interests me is the low or zero figures elsewhere.

Especially Indonesia; surely they have significant numbers of Chinese travellers?
My point is that this news item does not change reliance on a third party at all. Not that it’s impossible to exist.
I couldn't figure out how to generate a "=" so had to double click on the 5x6 spot on the table of 0s on the right.

The page could probably use a cheat sheet on the bottom explaining the keymap.
I always wonder what would have happened if Apple had given away the NTK for free instead of charging a lot of money (I think it was $2000?). I think a lot of hobbyists would have proceed cool stuff but were deterred by the cost. If I remember correctly Palm game their SDK away for free when they released.

The 100 version of the Newton was not very good but the 130 version and then the 2000 were really nice. Also I think Apple should have been more forthcoming with a C++ SDK so people could write own drivers and implement stuff that needed more performance. NewtonScript was just damn slow.

I still like playing with my Newtons from time to time. I also have a 2 MB storage which cost $200.