skysight-inc/HackerNews huggingface dataset:
This is great! I'm not much of a programmer yet, but I can feel the underlying urge grow stronger by the day. Getting my copy of Unix Network Programming today in the mail, will definitely be checking this course out.
How about:
Using no longer supported libraries

Slow development speed due to old standard

Old and slow source code repo tool

Outdated (os, vms, etc.) development landscape

Bad code like missing Tests

Isn't legacy a system which was not maintained for a while? I have never seen a well working, up to date, modern system being called legacy.

You become legacy when something else superseeded you and now the legacy system needs to be kept alive for whatever migration issue.
designed for tiny monitors,

Or designed for non-maximized windows. It gets pretty frustrating when sites serve me a mobile version just because my window isn't 3000 pixels wide.
W3C focused on design by committee, de jure standards. WHATWG focuses on standardizing de facto standards. W3C’s HTML effort failed and now its HTML5 spec redirects to WHATWG’s HTML5 spec. Maybe I misunderstood your comment, but sounds like you got it backwards.
Doesn't look like landlords are expecting this is a long term thing. Monthly rents are more expensive for 12 month leases than 6 month leases right now
TRID and What It Means for Your Forms
Not everyone can stand the Pacific North West weather. https://www.reddit.com/r/askportland/comments/53okby/moving_...
-40C or -40F?
The biggest drawback for me which the article didn’t really touch on was cost. For high volumes of traffic AWS Lambda is way more expensive than an EC2 server.
The first question is funny because the pronunciation of the last 2 characters (拉面 - lamian) is why Japanese call Chinese noodles 'ramen'.
Abductive Knowledge Induction from Raw Data
KScreen is weird, i had a scaling issue that happen if at boot, both my 21"+27" are connected (they are both FHD), but if i boot with 27" monitor then after login connect 21" there is no scaling issue. Maybe that could help you somehow
You can also try to put your PC in Sleep instead of restart each time, if you have a good UPS and some redundancy
Free eBook: Geofence Marketing Playbook
We have a brand new #freeebook out! Love to have you come check it out and give us your feedback! You can get your FREE copy here: https://buff.ly/34Vx3wC

#landmarksdigital #landmarksmarketing #geofencing #ebook
I don't think X is so limited. You can use the xrandr tool to set pretty much arbitrary positioning and scaling for each screen, at least with the proprietary NVidia drivers.

But that is GPU scaling, not framework scaling.
Chicago doesn't get -40°. When I was in Champaign (admittedly, that's ~100mi south) for 6 years, exactly once did we have windchill reach -40°. Your typical "coldest low" in Chicago will be single-digit degrees Fahrenheit.

Per Wikipedia, Chicago's record extreme low is -25°F.
On the contrary, i think the point of whatwg was to focus on reality and make descriptive standards instead of making prescriptive standards like the w3c that nobody implemented.

Pushing xpath (or anything else) despite vendors not wanting it is a step in the opposite direction.
Wouldn't a lower resolution result in worse clarity?

I also have a 4k and a 1080p. The 4k is my primary work monitor - i want crisp text. The 1080p is actually a gaming monitor (plus 244hz), since my card can't push 4k for gaming at 244hz hah.

Could i have two 4ks? Yes, but originally this setup was used by my macbook pro, and i wasn't confident it could push two 4ks. Futhermore my 1080p gaming monitor would have to go somewhere, and i'd like to not have two different desk setups.

My setup these days is to scale everything x2 (in KDE or XFCE, currently i'm on XFCE), and then scale my 1080p _down_ via xrandr (as i'm not on Wayland).

Sidenote, Mac handles these two monitors _perfectly_. I complain a lot about Mac, hence me being on Linux at the moment - but these monitor scaling issues were entirely gone in OSX. I never noticed a single scaling issue. Where as on Windows there are lots of quirks, and Linux i could barely get it to work.

Hopefully Wayland makes this experience better.

*(Sidenote: i'm on XFCE atm because KDE on NixOS felt a bit sluggish. Maybe it was just the animations, hard to say. XFCE felt a bit snappier. GNOME was a laggy mess, hah. KDE and XFCE were both good though, XFCE was just a bit better for me on unmeasured performance feel)
-40°C = -40°F.
amen to this. i've tried both flex and grid and grid was so overly complicated. flex is simple and has always worked for me even on mobile.
I second this - I come from a self-taught background and have been moving down the stack since and am 80% through the Rust Programming Language book. I am very excited with this and am happy to help where I can :)
And yet it’s still not (in the U.S., AFAIK) illegal to sell, buy, or posses one of those tools to enter the car. Not even intrinsically illegal to use it—breaking and entering the car is what is illegal, regardless of the tool used.

Of course, a lawsuit may always be filed even if they have no belief they will win.
This is pretty much the only feature I miss from MacOS.
I've upvoted this. Even the "optimized" solution here is so horrible that I almost thought the article was satire when I first read it. Maybe it is.

Even if we ignore the fact that it's grid to grid conversion, (which should just let you math the answer, without any searching) the fact that all the data is sorted means you can do the equivalent of a merge sort and only have to look at a two point for each step.

And how on earth can you take .117 seconds to line up a half a megapixel worth of grid points, even with their "fast" algorithm. They are using the R language which should be fast, right? Are they doing something expensive with it? Or perhaps there is an insane amount of data elsewhere making these lookups super expensive?
This was a good outline of the leadership failures common in large orgs trying to get good value out of data science.

Edit: In summary:

“Any organization’s adoption of AI and machine learning requires three technical tools: usable digital data ..., computational capabilities ..., and a development environment that engineers use to code”
1) 'Occupation' less of an issue, it's 'Ownership'. Foreign owners can rent homes out. Though it's such a problem in Vancouver, they are now taxing empty homes for precisely this reason [1]. Maybe SF should follow suit.

2) That foreign ownership is a primary factor in the rise of home prices in SF, Van, Toronto is completely unambiguous. There's plenty of evidence. The degree of impact is still debatable, but not that it's a major influence. [2]

From those articles you can see the type of demand is 'inelastic' - this is key to understand because it's not just 'a few more buyers'. 2-8% foreign ownership wouldn't mean much at all if they represented the 'same type of buyer' as local buyers. It would be just a small nudge in demand. But the terms they are seeking are completely different and the inelasticity is what makes their kind of demand potent.

3) 'Yellow Peril' (?!?) holy camole. There are foreign buyers from all over the world, it's a big place.

4) This is not just an SF phenom. New Zealand has banned foreign ownership [3]

[1] https://vancouver.ca/home-property-development/empty-homes-t...

[2] https://phys.org/news/2020-09-foreign-homes-impact-prices.ht...

[3] https://www.thestar.com/opinion/contributors/thebigdebate/20...
Using machine learning to generate portrait collages
Presenting v7.0.0 of the NPM CLI
No, it works because you keep an array of "active" elements during the sweep. Let's say you sweep from left to right over the elements sorted by their left bounds. For each element you encounter you check if it collides with any of the active elements. While doing so, you check if the active element's right bounds is left of the current sweep line. If so, it cannot collide with any of the remaining elements, so you can remove it from the active elements. This way the number of active elements usually stays small and you have to check each element only against few other elements.
I think you missed an important part: the people. There’s LGBTQ+ culture, Latino culture, startup culture, etc. People like being around people like them. Unless other cities can recreate these agglomerations, SF will still be a destination for a lot of people.
Why React Hooks over HOCs
Dependencies which can be tracked and locked!
I got my first big sponsor for the GraphQL API for WordPress
French Bulldog Clothes
"Also I can't understand why one would prefer to pay that much for such complexity."

If there is one thing that dealing with AWS reps has taught me, it's that this was 100% by customers. I swear to god, AWS doesn't do anything without customers asking for it.

If you are wondering why products are build in AWS, it's because people wanted to give them money for this. Say what you want, but this isn't something are pushing on us. This is something "we" push on them to provide.
I've always wondered - what constitutes an "observation"? How does the particle know it has been observed?
Demand used to be inelastic; the new normal (remote work) removes this
They will go where the biggest salaries are, as they always did.
People come from different parts of the world, different things are happening in different places, it means Americans may be more likely to be out and about doing one thing, the French another, the Chinese another.

That there are 'differences' in are world is the uniquely qualifying aspect of diversity itself. 'Diversity' is not 'racist'.
Sounds like classic n+1 problem
Okay - I was talking specifically about California.

Most leases in SF do not have buyout clauses of this form I believe.
According to my neighbor, who is a lawyer and likes to drink, this is pretty common. He is on a lot of cases where the lawsuit makes him (the lawyer) more money than either party would have saved or lost had they just settled up front.

The one I remember had to do w/ $1900 worth of lost wedding photos cuz a server died or got deleted. Cost more to twist the knife in court than to just settle.
You should still try to fix your acronym, but his acronym is also wrong. He should have use HCl for Hydrogen Chloride.
I wish it were hyperbole but it is truly horrifying to me. However we can certainly agree that the advertising is well done and integrated if that's what you mean.

The video is crafted specifically to embed an obnoxious ad every 1-2 minutes. The "content" is largely filling and setup for the next ad placement to come.

I've never seen anything like that before. I've seen youtube videos where the youtuber was paid to promote a product in a strange way, they did it once somewhere and that's it, it wasn't spread through the entire video with the video only existing to deliver ads.
Where did you move to? What was your rent and what is it now? Do you plan to move back?
Perhaps, but -- not at the moment!
Those factors are real, but they apply to dozens of big cities.

They don't explain why rents in SF are falling more than anywhere else.

To be fair, the article only says 31% is the most. If other cities are around 29-30%, forget what I said.
Choosing a Web Browser – Between the Hacks
I thought this was going to be "How to Speed up a Python Program 114,000 times"[0]. It's an hour-long talk, but quite enjoyable.

In the example in the talk, it was less about knowing cs algorithms and more about knowing the details of how modern computer architecture works, but the lesson is the same: sometimes the background knowledge of a cs degree is useful.

He also has the same point about optimizing our code rather than just adding more and more machines.

[0] https://www.youtube.com/watch?v=e08kOj2kISU
Isn't it backwards? WHATWG — there should be two implementations first.

Edit: we would not like if Chrome only feature was standardized. Lets have dialog, not silent downvotes.

XPath is great, for example

$x('//text()[last()]')

finds last Text node. It is possible to query by text content

$x("//a[text() = 'parent']")

finds parent links on the page. Other the years CSS adopted many selector, recent addition - :has(direct children) not implemented yet

$("//a[img]')

works. I would like to hear other examples.

What XPath needs is modern interface like CSS has. It is easy to shim [1]

document.queryXPathAll

That would be much better proposal

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/:has

[2] http://sergeykish.com/web-api-element-prototype-queryxpathal...
It feels like, to me, that most of the comments in this thread that don't "get" serverless have never had to deal with things like maintaining the spaghetti mess of CM(Chef/Puppet/Ansible) that invariably results from trying to manage a traditional infrastructure deployment of any size.

Patching, dependencies, configuration drift, security audits/compliance... these are all non-trivial issues requiring non-trivial operations and engineering hours to solve.

It's fine if Lambda is too complex an abstraction for hobby code or a node.js todo-list app, but that doesn't mean it doesn't solve the right problems in the right problem spaces.
Search hundreds of cocktail recipes by ingredients you have on hand
I was asked once in an interview what the hardest part of programming was, and I said it wasn't Order of Complexities, it was the C constant within it. Interviewer was not subtle in thinking that was stupid.

My rationale was - and is - that C is not sexy. It's hard to motivate people to look into it, and it's often hard work because a sort algorithm or a lookup table tend to be compartmentalized, while C issues are diffuse - they're literally everywhere, and they don't always show up on a flame graph. On one project I got a 2x improvement in overall performance by fixing issues that weren't visible in the perf output, and would have been invisible on a flame graph (this was before flame graphs).

C is particularly a bigger issue once you consider Amdahl's law. A 20% slowdown in a linear part of the code can show up as a second-for-second slowdown in response times, while a search algorithm that's only a small part of an overall process, or parallelized, you can make it 10 times faster and might only see a 2% improvement in response times. If you avoid allocating more servers, for a new feature, nobody celebrates your achievement. You have to do it wrong the first time for anyone to notice you.
Well im glad they didn't

CSS is a beautifly intuitive query language. XPath is an ugly non-intuitive syntax. I suspect that's part of the reason that it didn't take off (ux of apis matter)
I've had them on my sites for a few years now, and even with bridgy passing tweet replies through the spam hasn't been too bad, but certainly adding an allow-list makes sense too. Having built Technorati that effectively did this at scale, I do appreciate the spam problem, but decentralising implementations has so far worked out OK.
I really think Linux should make it harder somehow to uninstall critical parts of your operating system.

Yes. This was one of the things we had to polish way back in the first Linux boom when I was working at Lindows. We got a report from QA that "when I uninstall this random thing called dpkg I can no longer use the app store". After the lead dev managed to collect himself from off the hallway floor (the only literal ROFL I have ever seen), everyone realized that yes, you should be prevented from uninstalling the core software.
yeah we really like to go with option-B. Any platforms or services that you can recommend? I'm thinking Browserstack.
thanks for your analysis!
Development environments to preserve global energy supply and natural resources
Ignoring =/= Forgetting
Thanks for pointing at R. I was actually idly wondering what language that is. The <- seemed to point at Haskell, but the parens for application immediately killed that theory. While I have dabbled in many languages, I haven't had a single look at R code yet.
I saw the rainbow colors, thought, "wow, that's terrible. I won't play that, but surely they'll fix it before release - this is Blizzard we're talking about," and I didn't pay any attention after that. I actually had no idea that they even released it eight years ago. It might have gone a different way had they made something that didn't betray all of the things I liked about the real Diablo games.
‘What Tech Calls Thinking’ Might Be Something Else
I haven't lived in the bay area in 9 years (used to live in Berkeley), but so far my old SFBA friends have moved overwhelmingly to Portland, with one going to Colorado, another to Seattle, and two staying. One is a wealthy engineer, and the other (who has a kid in Marin) an incredibly fortunate person who was curious about this bitcoin thing 10 years ago..

I don't know of any "regular" people who stayed in the bay, except for a relative who's stuck there because of shared custody over kids with an ex and can't practically move. She'd like to though.
It's still possible not to be a serf imo. If you look into self-hosted alternatives to these things the communities online still have a lot of the vibrant and open spirit you're describing, built on collaboration, open protocols, and basic tools.

I very strongly felt the way you do until a couple years ago when I started following those communities and eventually started hearing non-technical people IRL start asking about how to cut toxic centralized products out of their lives. I think the internet that inspired you is still out there, maybe even the same or bigger in size, it's just harder to see because the larger centralized serf net is so distracting.
That was a great read for someone who's used VBA to solve business cases, including InStr.

Anecdata, but most of my strings were indeed short (searching for manufacturer SKUs inside arrays of other SKUs).
Not quite the same thing, but to get the average occupancy per car, they apparently just ask people.

https://www.energy.gov/eere/vehicles/articles/fotw-1040-july...

https://nhts.ornl.gov/
I must be getting old because all I can see is an insanely dangerous gas welding torch.
>While I agree with you, that's nothing a custom theme / engine can't fix.

For many people this is a turn off rather than a great thing. I've been using Ubuntu and the Arch for many years before switching to macOS (OSX at the time).

Even now you have to compile and install a custom theming engine[1] in KDE to apple decent themes

[1] https://github.com/tsujan/Kvantum/tree/master/Kvantum
The optimizations here are uncannily similar to the ones I performed for an algorithm we developed for application in bioinformatics. It began with a statistics post-doc who knew some R. It was very brute-force.

https://arxiv.org/pdf/1509.00549.pdf (Results on page 28)

I suspect we would have seen similar speedups with larger vectors.

If you look at the tweaks to the algorithm, they're relatively minor, but with very significant gains. Sorry about the code syntax; the audience for the paper were statisticians.
This seems to be a misunderstanding of polling, of models built on polling, and maybe on statistics in general.

There was some polling error in 2016, it's true, in several states that turned out to be determinative. Uncertainty can be and is built into models based on the quality and frequency of state polls, and 538's model certainly takes the polling errors of 2016 into account by adding more uncertainty to states and pollsters which got 2016 wrong.

That said, most of the shifts in state results were within the margin of polling error, which is why Silver's model gave Trump a much higher chance of winning than any other major models did.
WFH is fine. Bothers me not at all. I hate not being able to breathe the same air as my friends. It makes so many things impossible - things that are also impossible unless my friends mostly live within 30 minutes travel of me.
> As long as housing stock is differentiated in price and quality a shortage can endure even with an increase in total supply (rent controlled units for example will always be in short supply regardless of new construction).

If you build enough quality housing you end up with old crappy housing being impossible to rent out so it either gets abandoned or redeveloped. If you build enough housing the price floor that is rent control ceases to bind because market rates drop below the floor. There can absolutely be a “shortage” of a given combination of quality and price but that’s like saying there’s a shortage of Peter Norvig talented Computer Scientists who’ll work for $50K a year.
Hence the reliance on gerrymandering to maintain majorities. Look at the congressional districts around Austin
Japanese also has informal simplified characters used in handwriting, some of which aren't in Unicode despite being commonly used:

https://en.wikipedia.org/wiki/Ryakuji
Neuroscience Disappears When the Complex Whole Is Decomposed
> the tiny on-off switches are now only about 25 atoms wide

Speaking as someone completely clueless about the engineering at that level... damn, that's impressive.
For most people, renting the film and buying a digital copy are effectively the same thing. Or do you honestly expect that your iTunes "purchases" will still be viewable in 5 years? I don't.

And yes, while $30 is expensive in comparison to other companies' rental prices, I remember that many new movies (e.g. Deadpool 2) are at first only available for sale on iTunes and only later do they add rental options. Plus, for movie fanatics - who tend to be main buyers in the first 1-2 weeks, Disney is not competing with online rentals, they are competing with 4K Blu-Ray.

So if they can provide an experience that lets me watch a movie at 4K with HDR and a decent bitrate on my offline TV, I'm in at $30.

I feel like Tenet is seriously screwing up here. I'd love to see the film and I'm OK with paying $30 for the whole family. But Cinemas are closed, there are no streaming options, and they don't even have a Blu-Ray release date yet.

With that in mind, I'm not surprised that some of my friends have opted to watch a low-quality illegal cam recording of it, instead of waiting 5+ months. Warner Brothers could have monetized that impatience, but they screwed up. Let's hope Disney will do better by offering paid legal downloads on day 1, even if it's as expensive as cinema used to be.

And if you don't believe that impatient movie fanatics are a market, consider this:

https://www.cinemablend.com/new/New-System-Allows-You-To-Str...

https://www.dailymail.co.uk/sciencetech/article-3464839/The-...
> This year it omits the “current policies scenario” (CPS), which usually “provides a baseline…by outlining a future in which no new policies are added to those already in place”. This is because “[i]t is difficult to imagine this ‘business as-usual’ approach prevailing in today’s circumstances”.

I guess that’s one way to say “our predictions did not even match current policies at all and the model was too complex and out of date for us to make it reflect today’s reality.

https://maartensteinbuch.com/2017/06/12/photovoltaic-growth-...
Field Emission Electric Propulsion Technology and Products Explained