skysight-inc/HackerNews huggingface dataset:
That is a masterpiece of Forth programming!

I particularly enjoyed this section from the template renderer which made me think... Return stack manipulation - that's playing with fire. And also - wow Forth is not much higher level than assembly, and gosh, I don't think I could have written that without writing some stack diagrams!

2dup s" $>" search if \ Check to see if there's a closing tag $>.
2 - \ Add the close tag to the search result.
nip \ Save the end position of $>.
dup >r
- \ Reduce the string to <$ ... $>.
evaluate \ Run user's code (maybe a bad idea?).
r> \ Retrieve our saved end position of $>.
r> r> \ Retrive the addr u from start of loop iter.
rot \ Bring end $> to stack top.
over >r \ Store the real string's length.
- \ Subtract end $> from u to get the pos from top
r> swap \ that we'd like to strip away. Restore saved u.
/string \ Drop top of the string until the end of $>.
0 \ Keep looping.

Thanks for the trip down memory lane!
One thing climate change debates have taught me is that people generally can't think past implementations and have incredible difficulty updating their implementation-specific mindsets.

Hmm, interesting. I don’t mean to argue the facts, but just a quick google for the GND resolution [0] seems to contradict this claim. If anything the submitted resolution is overly idealistic, promoting an “everything-plus” strategy against climate change that won’t happen at all without a dramatic and underspecified political upheaval.

In fact high speed rail is listed as “(iii)” in a list where “(i)” is “zero-emission vehicle infrastructure and manufacturing“.

Here’s my question: do you think it’s possible that what you’ve actually been taught is a cognitive bias, that might be leading you to ignore disconfirmatory evidence about how other people think in favor of simpler but less predictive models?

[0] https://www.congress.gov/bill/116th-congress/house-resolutio...
Which could lead to higher interest rates if done en masse, which would definitely affect the US economy.
I'm not sure security patches to ensure a program is not dangerous to use is quite the same thing as "supported". I mean, yes, it technically is in a sense of the word, but it's not meaningful.

Microsoft is telling everyone to not use IE11. They are not adding features to IE11, or fixing (non-security) bugs. While it is the only browser shipped with LTSB, Microsoft's position is that no one should be using LTSB on general-purpose machines anyway. (Mind you, LTSB works and is wonderful, but Microsoft would prefer you don't know that.)
I'm curious how will this work with nested packages, i.e. a package inside a __pypackages__ dir can easily have its own __pypackages__ and so on.

Could that be a solution for avoiding version clashes when specifying dependencies? Right now, installing all the requirements on a legacy system I have inherited gives me the following notification:

package-xyz has requirement six==1.10.0, but you'll have six 1.12.0 which is incompatible.

With __pypackages__ it might be possible to install six 1.10.0 into package_xyz/pypackages, and six 1.12.0 globally...
cannot speak for GP, but often when I did use bootstrap, I'd have sass configured in webpack, and bring in the bits I wanted (prefixing my overrides). Usually copy/paste the variable.scss directly into my project, as well as the full list of modules, commenting out the ones I wasn't using.
So, where's the equivalent one stop shop for someone building an admin interface using these new features? Don't think uber.com - think admin.startup.com .

(Personally, I'd rather they just build it in Lazarus, but people have forgotten about building desktop apps.)
Yes! You are correct. Baz did the song, but Mary wrote the original. I always forget that. I'll change my post.
It runs up the existing Caltrain route to King St. and later to the new inconceivably badly conceived bus station they built downtown via a curvy slow tunnel under the streets.
Don't worry. California will spend another billion figuring out why the project failed.
Windows 7 will be unsupported next year.
Because that is the part of the track that doesn't have significant geographic/tunneling requirements, nor does it require seizure via eminent domain of significant amounts of urban property to cut new tracks through LA/SF, nor does it require building hundreds of overpasses/tunnels through cities to eliminate level crossings. You can't run a train at 210 mph through a city at the level of the road. There's too much risk of collision. Instead you have to tunnel under or bridge over every single road. All of those things take time to design, negotiate, fight legal challenges, etc. The idea was to start building in the empty central valley now, while they work through non-building work in the urban and mountainous areas.
Only part of the world is moving to css-in-js.

I won't be on the boat leaving for that destination.
I like the (maybe a bad idea?) comment.
Why Finland is offering training in AI
Emulating Command Buffers in OpenGL – Part 2
That'd be a last resort if we can't get it somehow whitelisted. But since the product isn't live, it is technically still possible.
> I don't think that's what UBI is supposed to be.

What do you think UBI is supposed to be? I thought it was a universal basic income, i.e., an income that is applicable to all people as opposed to an income from a job.

> Please expand on how providing for people unwilling to work is defensible.

The US Declaration of Independence says all people have the right to life, liberty, and the pursuit of happiness. The Universal Declaration of Human Rights says all people have the right to life, liberty and security of person. And so forth. None of these rights are excluded to those unwilling to work.

In order to live, you generally need to have a roof over your head and food on your plate and access to basic medical care. Providing those to all people who have the right to life seems pretty reasonable to me.
As a final attempt I've just installed SpaceVim. A distro. Full of features and whatnot.

lang#go layer enabled - check.

I go to the first .go file I can remember of and... autocomplete works. But only for the packages provided by the go iteself. Not the 3rd party. Kind of... what the point really?

As a final word: I'm trully happy for people who have found their happiness in Vim. Nothing can be better that having a tool that satisfies your needs to the fullest. But I still can see it as a capable DE.
Navigation is great and I use it in Firefox everyday via Tridactyl.
All those hacky '3ytcvnsdg' whatever commands are super nice when you are working with some kind of csv dump of an oracle database via ssh (I had this moment!).
Editing some configs on my Raspbery Pi? Sure.
Writting books and such? Maybe, never had such experience.

But software development? Seems like a nightmare to me.
Cars suck though. Seriously. Roads take up a ton of space, traffic meets whatever capacity we provide it. They're pretty dangerous. I would much prefer to reimagine cities with fewer cars, and take care of long distance transportation with other (clean) means. Cars are getting greener, but they still have a ton of other negatives.
Lots of people have suggested time distortion effects from psychedelics have to do with altering how this system works -- if time input decays more slowly, that would explain things like visual trails and so on.
> Here in the US, I often book long distance peter pan / grey hound buses and them being empty is par for the course.

I believe that's in large part because the current offerings aren't good to begin with so people won't use it. Coming from europe, I've found the train network in California very sub-par. There is amtrak, but timetables and connections are so bad, I decided not to use it in the end. Caltrain was okay, I was pleasently surprised by the huge bicycle wagons, but the wagons still felt seriously outdated and slow.
Bootstrap provides an easily customizable (through SASS/LESS variables) base for a web project and the components are very useful. You can even pick/choose components now to keep it more barebones if you wish. It's also very easy to learn.

All the utility classes are useful too.

Why waste time creating all those components manually?

Also as you say it's still great for prototyping and internal applications that don't need bespoke styles.
I think the old business will have a far easier time managing to secure capital and loans than a new entrepreneur, which is a boon for the guys already with money and being paid big bucks to administrate, but pretty horrible for the small guy that has newer and better ideas.
Look up how much it costs to build a mile of highway. On level ground, in undeveloped areas it's still amazingly expensive.

Now try to build something through developed areas, maybe not at grade, and dealing with traffic rerouting, other infrastructure interruptions, and NIMBYism.
How can it possibly succeed though? It looks for all the world like a boondoggle.

It looks like someone tried to make an actually useful SF<->LA route and couldn't figure out how to make it work near the city. While it would no doubt be way more expensive and difficult, getting this into the big cities would at least give it a reason to exist.
Not sure what you're trying to say here - Android Things was always targeted at relatively powerful devices. Things where people right now use stripped down tablets or massacre AOSP Android to make it do things like power a touchscreen kiosk device. It was never really capable of working on a smart scale or CCTV camera type thing - it was always a best fit for a phone-like hardware powering a display.

And it is a decently nice platform to work with for those use-cases - certanly better than most of the others. It has almost all Android APIs available.
Memory loss is a very real problem with ECT. Most professionals downplay this and I find that a bit disgusting.
almost all the comments are negative about the article but many people upvoted. I like the dynamics of HN
It does. The fetch response object exposes a `ReadableStream` through the `body` property, which you can loop through with a `for await ... of` loop. On each iteration, simply update your progress.
It may seem like a pain in the ass - but wait until you try restoring a system from a backup tape and the first tape doesn't work, neither does the second, or the third .....

Learned that lesson early in my career - the fourth and final tape did restore.

NB The backups weren't my responsibility, but restoring the payroll database my shell scripting error had nuked most definitely was.
> .... Ok... Go on then. But to start you off, I don't think that's what UBI is supposed to be. Please expand on how providing for people unwilling to work is defensible.

I don't understand what the alternative would be? A civilized society already provides basic sustenance, housing, and healthcare for everyone that cannot or will not work. It's not a glorious lifestyle but we don't let people die just for not participating in the workforce.
I cannot see how spandrels would be particularly controversial, though you need to have the right perspective of such. I believe a spandrel in theory to be the potential minus the solution at hand; in certain problem spaces a spandrel may be present in the optimal solution. This is not to say a spandrel is useless, in that removing a spandrel with reference to some solution from the potential alters the problem space, thus in the probabilistic theory of evolution you would encounter a different spectrum of outcomes.

I would see non-overlapping magisteria to be more controversial, however.
shadowdom is actually the opposite - inflexible and a memory hog. It just allows people to be lazy
What does it mean to "increase dividend" and "do stock repurchases" (finance noob here)?
Yes, but it's also a corridor that will have high demand. Building a cheap train where no one will use it seems worse than building an expensive train where many people will use it.
A tremendous number of sites still use Bootstrap.
both situations stink of corruption
All of which is true. Issue is, it's also true for EVs.

Infrastructure for EVs costs money too. As do electric airplanes. (Which I didn't know were going to be passenger planes in 10 years?) That's the thing, ANYTHING the Green New Deal spends money on, will cost money. You may say that's obvious, but my point is that I doubt whatever the GND ends up pushing will make actual economic sense. And imagine spending money on electric planes, and they don't become passenger worthy in ten years. Is that a bust? Do we just spend more GND money on electric planes and wait longer? What if we can not quite get there even in 20 or 30 years? What if the right choice was not electrically powered traditional planes, but big, slow, air ships? Do they make sense for "short haul" commutes given their lack of speed? Or what if air ships are a boondoggle as well, and that technology can't be perfected in ten years?

We have to either be willing to potentially waste federal money on Green New Deal projects that may never pan out, or, if we are disinclined to do so, we need to accept that the politician will be extremely risk averse with Green New Deal money.

And guess what that means? Yep, you guessed it, trains and lots of them.

Why?

Because as that old saying goes, "No one ever got fired for buying IBM."
Some are saying this is inaccurate, that Newsom is instead trying to reorganize the project to reduce cost overruns an focus on the central valley portion first, but that SF to LA is not canceled.

https://twitter.com/Scott_Wiener/status/1095414245024362496
I've always liked to use axios which provides a jQuery-ish AJAX library. Works in the browser and server-side with NodeJS.

https://github.com/axios/axios

Much nicer to use than fetch IMHO
I only looked at VueJS for about an hour, but it's my impression that Vue.js is much more of an application framework for SPAs than "rich HTML"? Quickly looking at the "getting started" guide doesn't give me the impression that it will work well if JavaScript is disabled?

What I want is just intercept some (but not all) form submissions and load the results via AJAX, and such.
> Wow. Merced to Bakersfield. I mean, why not light the money on fire instead?

Newsom explains in a quote given in the article: not spending the money means "giving it back to Donald Trump."
I have a weird fascination with bruatlist architecture. It seems that everybody else hates it, but I like (some of) it.

It's a bit the architecture of the 60s in general, universally hated in germany. But I find the optimism and futurism very interesting. The often neglected facades have something tragic, like a broken promise of a future straight out of comic-books.

There are definitily bad examples, but I define them by being boring, not brutalist. I think it's an interesting expression of a epoch that's worth preserving and also complements the architecture of the city. Of course, you don't have to preserve everything.

I think the difference is that I don't think a building has to be good or pleasant looking for me to like it (not that there are not example of good/pleasant looking brutalist buildings!).
Is SelectorEngine sizzle directly? I'm not sure how practical replacing jQuery is, and not going to look that deep. But jQuery isn't nearly as big today since most browsers (even IE11) are pretty modern.
It's not to get a stream so much as it is to get automatic aborts in mergeMaps and such. Amazing for things like auto-complete from an API as you type.
You are slamming the "Green New Deal Thinking" for not including EV semis and planes, vehicles no one yet builds or sells?

Semis are maybe more likely, but I don't want government energy policy to be planning on EV airplanes any more than, say, fusion reactors.
jQuery was nice in that everyone used it for a long time, it was required during browser inconsistencies and no transpiling. This made systems common for devs, and systems/skills were more transferrable without worry about browser testing hell.

Now every framework will use a different internal jQuery like custom system, when these pile up high enough another jQuery like library will appear that everyone will use if browsers start fragmenting again. Though with WebAssembly and other technologies maybe less of that will be restrictive enough to need common browser baseline libraries.

jQuery was very required during IE/Firefox/Chrome changes and made a baseplane of support that didn't need to be tested in every browser by every project, devs could just focus on building their webapp. It is a bit similar to a game studio making a custom engine or using a common one like Unity or Unreal, there are pros and cons of both, but the pro is the devs can focus on building a game and not having to worry as much about the engine.

Now that browsers and transpilers exist, that is less of an issue but also leads to many more versions of the same thing, for better or worse.

I just hope that most projects aren't bogged down in extra work and testing recreating jQuery for the thousandths time. That is one problem I see with javascript ecosystem today is that lots more work goes into the tech rather than your app/game/project/product. While it is simplifying in some areas, sometimes it can actually add complexity to your tech stack that is unnecessary and wastes cycles that should be on your product.
You can travel from Amsterdam to Paris - a similar distance as SF-to-LA - in 3.5hrs. That's through three different countries.

Paris to London is 2/3rd of the distance and takes 2.5hrs and one of them is an island. Plus the British and the French aren't exactly known for their love of each other.

Both are faster than flying once you factor in the huge amount of queuing for safety checks, customs and passport control at airports.

America has been generally fantastic at building big stuff so it's hard to understand why they fail at rail. Is it just that the will isn't there because internal flights are fairly painless?
> As one of the commenters pointed out, a lot of stuff was copied from jQuery to make it work.

"a lot" is an important clarification there, though. If they copied 99% of jQuery over then yes, it's a total waste of time. But 5%? 10%? That's a meaningful reduction in download size.
Apple's March 25 keynote will be 'services focused'
On redesigning the system
SEC guide to ICOs
Check out LocalBitcoins
It is because web is the go-to resource for me, whether it's wikipedia or readings blogs or youtube or netflix——I don't use apps at all. Any hardware that doesn't take me to web is—well it doesn't exist for me.
I wonder how much of the cost is land prices which in China they would just take and force people to move.
> You seem to be misinformed.

The PR specifically says "* Remove IE (but not Edge)" and to update docs containing IE references.
In simple terms, some patients are so unwell with depression they will either never get better or die from malnutrition/debilitation. This justifies the use of ECT, which is conducted under very careful conditions, involving general anaesthesia. It is often effective in a very short time frame.
Overcast's author, Marco Arment, seems pretty clear in his design approach for Overcast (I listen to Accidental Tech Podcast, on which he's a host). He's pretty resistant to things to don't help the core experience of listening to podcasts. For example, he's put a bunch of time into the basic audio features and making watch playback work well, rather than lots of flashy GUI things.
If they are limited to 25 mph, how can they travel on most roads?
Only if it's non-stop. Everyone wants the train to stop in their little town. Similar problem with buses.
Dunno if surveillance needs ultra-low latency. Actions taken on the ULL timescale would require people at the site who usually would have a view of the threat.
jQuery is fine for spicing up a blog or something with really basic JavaScript functionality (e.g. a carousel, basic 'contact' form with validation/AJAX).

Anything more 'rich' gets confusing very, very quickly and with how accessible Vue/React/Angular are it doesn't make sense to use jQuery.
Increasingly I have noticed that people who can see the future have given up on engaging those that can not.
I am to understand what you are saying is that it’s not the idea that government should be involved in everything, it’s that the government needs to be larger and more centralized?
No, its just tax money California got back from itself. Unlike many states, California's citizens put more money toward the federal government than the federal government provides to California.

California is estimated anywhere from $0.87 up to $0.99 inward per $1 outward.

https://www.politifact.com/california/article/2017/feb/14/do...
I subscribe to the ebikes subreddit, so I find it interesting and appealing.

But for mass-consumption, we already have motor-cycles and scooters that are like 2-4x more efficient than cars, but get relatively little use.

What will make ebikes different?
If I reflect upon the life outcomes of the truly gifted people I have kept up with, I can divide them into a few broad categories:

-A few went on to have stellar careers in academia, science, medicine, law, IT, engineering, or other fields.

-Some had more modest aims and settled for more ordinary work--big fish in small ponds.

-Some got stuck closer to the bottom of the socio-economic ladder--some are creative types and/or have a history of addiction and self-destructive habits.

I don't think there is any question that highly intelligent people learn new things quickly and grasp complex, nuanced, abstract concepts better and more readily than most other people, but the connection between intelligence and achievement, much less happiness and mental well being, is far from clear. An awful lot of very bright people simply fall through the cracks, and we will probably never know how many.

I would guess that most profoundly gifted people are pretty lonely. There just aren't enough of them around, and at times it must be like seeing colors nobody else can see.
JQuery is still maintained. The last pull request was 2 weeks ago. Remember that this is a _mature_ project and as such doesn't need the plethora of pull requests everyday.

Personally if you are spending all that time and energy recreating the wheel just to say "you don't use JQuery ", you're being an idiot and might as well just use JQuery. Seriously I wonder how much they actually spent in dollar hours on this pull request.
FAANG companies are not where you go to find high engineering standards. You need to look for a job featuring one of these:

DO-178C DAL A (if you mess up, aircraft crash)

EAL5, EAL6, EAL7 (if you mess up, national secrets leak)

MISRA C (if you mess up, cars crash and a giant recall is required)

IEC 62304 Class C (if you mess up, medical devices kill people)

NUREG/CR-6463 (if you mess up, you get a nuclear disaster)

ISO 9000 and ISO 9001 (if you mess up, it will at least be documented)

If you didn't really mean high engineering standards, and you just want to work with capable people, you can find that all over the place. Perhaps being within commute distance of a FAANG has an impact, and you are seeing that due to your location. There are many people who refuse to live anywhere near a FAANG and/or wouldn't tolerate the culture.
How often is this occurring? I feel like we've been seeing lots of massive game companies releasing big titles, reaping huge profits, and then they fizzle and start laying people off.
> Isn't the whole point of capitalism that failing businesses fail so that new and better businesses can take their place?

Yes, and that's why Chapter 7 bankruptcy exists. Not every failing business can opt for Chapter 11.

Chapter 11 gives businesses that can still succeed an opportunity to do so, without having to make the time-consuming full round trip through liquidation to startup to scaling to functioning business again.

If it works, it benefits employees and customers who depend on the operations of the business, and it benefits the creditors and investors, since a profitable business will generate more money for them over time than a one-time liquidation would.