skysight-inc/HackerNews huggingface dataset:
ANC Commissioner here. You can get an exemption from the vacant property status with a building permit.

There are a couple problems with implementation. First, DCRA is such a fucked agency that they widely miss out on rating properties as vacant. The property two doors down from me has been vacant for two years and I’ve reported it a couple times and they still won’t rate it vacant (and I’m an elected official). The DC Auditor released a report last year highlighting this problem, which costs DC tens of millions a year. Second, most developers will create a separate LLC for each property and they’re happy to not pay taxes and have a lien put out, etc., on the probability that they’ll be able to flip it before foreclosure happens. If they do run into problems, the LLC lets them cut their losses. DC needs to move faster and blacklist two-bit developers who do this (I have a blighted property in my district where this has happened, and the District is out of options).

DC’s new short-term rental restrictions might help free up some apartments. We’ll see.
Humane by Design
A Medium publication I started for dads like me (or people who just don't have time) to learn Angular in the quickest (and superficial, but that's beside the point) possible way.

Some more words for the same concept: https://medium.com/angular-for-dads/you-dont-need-more-time-...
The price for upgrading remains as ridiculous as ever (especially if you're not in the US).

RAM:

8 GB -> 16 GB is 2200 SEK (239 USD)

8 GB -> 32 GB is 6600 SEK (717 USD)

You can get 32GB as low as 1689 SEK (183 USD) on Newegg.
Why can't you upgrade to the new CPU on the 21.5" models?
There was a guy that decided to make a toaster from scratch [0]. Literally from scratch: as in, mining and refining ore, etc. It was a bit of a stunt [1], but it definitely highlighted the advantage of scale and industry we typically take for granted.

[0] - http://www.thetoasterproject.org/page2.htm

[1] - https://gizmodo.com/one-mans-nearly-impossible-quest-to-make...
I hope this is indicative of Apple starting to get it, no one wants to buy a machine that is 3-4 years behind the curve. I could live with having a fast hardware refresh cycle and a slower design one.
What rumors? That it'll be released or there are more details?
When will they produce an Ultra-wide (21:9) screen iMac?
I Wanted to Type a Number
These days for new projects you may just use flask/django depending on how complicated your application is. Python is top 3 language and its ecosystem is getting better daily, meanwhile it leaves many other scripting languages in the dust including ruby. Otherwise you can use a java framework or (maybe) node.js?

Node.js no longer has a good framework anymore, express is "out of date", it still can't do async/await and Express 5.0 is not actively developed. The MEAN stack is pretty much gone. I wish there is something in the javascript/backend/nodejs field that shines like Django/Flask as a framework.
I’m interested in hearing about this too.
Beware, effective_cache_size is NOT, as stated, "the amount of disk cache provided by the OS"

It is a combination of shared_buffers and kernel cache size
See https://www.postgresql.org/message-id/20181105120104.GA13769...

This important configuration parameter is a too-often badly understood. IMHO it should be, at least on a server non dedicated to PG, periodically dynamically calculated by the engine.
Aluminium plants hit by cyber-attack
Fish farms have their own problems especially open-pen ones they use for things like salmon.

http://www.alexandramorton.ca/salmon-confidential-booklet/

Tree farms are also not a forest. There's no real ecosystem there. They're just rows of commercially viable trees planted and left until they're old enough to harvest.
I don't get the craving for a new design, the form-factor is pretty great as it is. Surely they'll eventually update it as well, but I'm a lot more interested in the internals/display/IO than the chassis.
> Somehow the most selective and elite of tech institutions can't bother to do customer service.

I'm not at all surprised that an organization that prides itself on elite engineering above all else falls down hard in other areas and doesn't even recognize how much of a problem it is. (Though, to be fair, Google Express, IME, has had superlative customer service, so it's not that Google can't do customer service.)
At that scale it makes sense to start thinking about alternatives to RAID e.g. an object storage with erasure coding should work well for a code base already using the S3 API. In theory even minio should be enough, but I never had enough spare hardware to perform a load test of that scale.
The non-Retina version wasn't updated so it's rocking some pretty old hardware now. It's probably going to be quietly dropped from the store once the remaining stock runs out.
Huh... The title of their press release seems to me somewhat clickbait-y... Why not 'iMac got a hardware refresh; now with 2x performance'? When I read this, I thought, 'oh wow, Apple really outdid itself with their SW optimisations'.

Overall, I'm kinda disappointed that the 21' and 27' macs get different CPU gens. Why? Why not just have the latest gen in both of them? Is it price, or is it more about artificial performance impediment?
Once they figured out how to make it sound like a new revolutionary thing :)
The discussion here was initially geared towards trying to reduce plastics but leaned more over the food that people eat. Just a causal way of observing how people tend to veer away from the point of the original issue needing to be resolved.
Church encoding is not the only option, since you already have pairs. So you can use base-1 list encoding, which is what lots of Kilo LISP programs do. Or you can implement natural numbers using lists of digits, which is still inefficient, but probably much faster than Church numerals.

Try this in kilo LISP:

(load 'src//nmath)
(times '(1 2 3) '(4))
Back to Traefik 2.0
Bought my iMac 7 years ago with 8GB as the default memory option and a 1TB fusion drive.

And here we are, nearly a decade later. Still 8 GB in the newest models. Still 1 TB fusion drives. GPUs haven't even seemed to take a jump over last year's models.
Robert Sapolsky interview on toxins learning to change behaviour
The IC usually doesn't fall into the bucket of 'defense spending'. And individual agency budgets are considered classified, however the entire bucket is public information. https://www.dni.gov/index.php/what-we-do/ic-budget
The Vega 48 GPU seems disappointing for a machine that expensive.
At least that one actually defines a decrement operator.
Ask HN: What startups are focusing on poaching?
What startups do you know of building technology to help stop poaching? For profit or non profit.
I agree with you, and really wonder if amelius was saying the same thing. The price/quality has improved tremendously, but the price/"audiophile brand" hasn't.
No touch bar is a win IMHO. I'm not against it per se, but a soft `esc` was a mistake.
> It is probably more valuable than this blog post

They do different things - pgTune tells you how to configure your system, this blog post tells you why.
> However, searching for low probability events in a large search space is not necessarily going to be a fruitful experience.

The same concern can be applied to areas like basic research and founding startups yet there are a lot of resources, success, and overall patience there.
I haven't tried this but you can buy shampoo in solid bars, like bars of soap, rather than in bottles.
This has been the case ever since I can remember. When I was buying a MBP in 2012, this was the case as well. Of course, at that time, you could say 'screw it' and buy your own ram stick. Good ol' times. Nowadays, Apple is just not worth it (especially in Europe).
For some people the “occasionally” is difficult to do. It’s like smoking a cigarette once a week.
I enjoyed looking at the examples and was impressed when he attempted to explain why they failed and how to correct them. Particularly when he used his employers website (the BBC).
Translation errors force Osaka metro websites offline
isn't the RAM soldered in on iMacs?
Those price have nothing in common with logic. 16 -> 32: +$400, 32 -> 64: +$400. They just put random prices based on marketing research, not on component cost.
The scheduler doesn’t have a hard job if all but 1 thread is sleeping.
A monad is not a burrito
Research done with a well designed methodology that explains how the data was classified in the first place.

It has to explain how it labels "hate" crimes; is the crime perpetrated by a clear member of the said group, how do you define the relation, etc.
Shouldn't that say "stop eating wild fish" Surely most of the fish we eat is farmed which in no way impacts nets in the wild?
IIRC EiffelStudio compiled Eiffel to C-- as an intermediary stage, but I haven't used it since university and struggle to find information about that online.
How to Get Rich (Without Getting Lucky) Video – Naval Ravikant Video
> it's kinda easier to write client libraries for, because it's so much simpler

What makes it simpler? I thought it was the other way around.
Not only that, longevity might be proper route to hell for mankind - take the worst dictators, what would they achieve with much longer time on earth. Psychopaths in power don't get better with age, do they.

Generally as with any powerful new tech, inventors/scientists fail to anticipate worst possible usage for it, which is how it will be (also) used.

There would be no way to anyhow regulate it, people would go to great lengths to get it (just look how some are OK with driving animal species extinct just to get potence medicine which is proved to be not working).

Don't get me wrong, I don't think we can avoid it, but it will bring some nasty consequences before it will become a net gain for mankind.
have you never seen an apple press release? Every product is 2x as fast as the old one, based on a cherry picked benchmark
To me, it makes no sense that only the latest CPU generation should be used in new hardware. It’s not like the latest generation is a big improvement, not since the 2000s or so, and older CPUs are cheaper to manufacture (because problems in the manufacturing process have been fixed)
No. The autopilot disengaged, the plane was in the storm, the sensors failed (iced).

The best was not even to enter that storm.
> Here are the top 20 stressful scenarios reported by millennials: ... Washing dishes

... oh no.
Rails is still fine and appropriately boring (in a good way). Its issues are well known by now, and it’s pleasant to work with for backend CRUD work.

What TFA really appears to be writing about is that doing backend work in nodejs is a subpar experience. I have little trouble believing that. A more interesting comparison would be to Django (my gut feeling is that Rails compares favorably here), Phoenix (a different set of choices about how opinionated to be on the data model, different base language with some significant and relevant advantages), and other frameworks that one would deliberately learn to replace Rails.
We tried that one and didn't really like it, this one has been excellent: https://www.optketamine.com/
It's a shit sandwich, not a fish sandwich. I have begun to feel pretty guilty about the occasional fish fry knowing that we're screwing up the oceans so badly. But what makes me supremely annoyed is that the Far East isn't doing anything to rein in pollution, they just dump shit into rivers and the ocean and go about their merry way.
>Why not 'iMac got a hardware refresh; now with 2x performance'? When I read this, I thought, 'oh wow, Apple really outdid itself with their SW optimisations'.

To me it is obvious it's about HW. These are new iMac release notes, not new macOS announcement.
Probably the same reason you can't on the MacBook Air
Specs look good. But sounds like no official Google Play Store and not likely to get any updates.
119: Serverless, Kubernetes, gRPC, Foundation Fatigue, Self Care, and More
Without the weird gimmicks, it's not Javascript. Many people have "fixed" Javascript in different ways, creating new languages in the process. One of these is even quite popular, aka Typescript.
Plenty of folks use an iMac as the primary family machine - email, homework, some Netflix, kids' basic games. 8 GB is entirely sufficient for that. Hell, four probably is.

If you're doing Photoshop plus a half dozen VMs, you buy it with more RAM.
I keep repeating myself, but there is goaccess [1] which is powerful enough for most use cases. It creates a nice realtime, html report of your apache or nginx logs. It can even show you a report inside the terminal.

[1] https://goaccess.io/
You can use JSX in Vue if you so choose (https://vuejs.org/v2/guide/render-function.html). I personally prefer the templates, and I enjoy the usage of HTML attributes for loops / conditionals, but the option is there, and there's no one correct answer here that everybody can agree on (which is fine).
You do realize, that this is 100% bullshit? We have destroyed these societies by destroying them; we'll hardly do further damage by leaving them alone. Just compare Libya, a smoking ruin where we did all we felt it was necessary to do, with Syria, a now-largely-peaceful functioning nation with the good sense to protect itself from our predations. They have slave markets in Libya now. No regular person survives without regular protection payments to gangsters. Reporters don't dare venture there, they keep track of the carnage by counting the people washing up on Europe's southern shores. The best thing we can do to any nation is the best thing we could have done, always. Leave them alone. If they request, send some humanitarian supplies. Recently however we have screwed up even that simple task, by trying to use humanitarian efforts as a screen for undermining Venezuela's elected government. (Don't believe me? Just ask the Red Cross.)
Nicotine is not orally bioavailable so it's a non-starter.

You could add it to temporary tattoos or face paint or something. But that would be borderline evil.
This is a common operation for my team as well. In my old project, so many indexes that were added were just assumptions about the usage pattern of the data. Not only did they blow up the size of the table and INSERT time, they became the opposite of a red-herring where developers would stop and look elsewhere because the table "already has indexes".

Only adding indexes with good use of EXPLAIN/EXPLAIN ANALYZE on expected usage patterns yielded good results. Often we'd just blow the indexes away and fiddle until we added the correct one to enable an index scan / index only scan.

Other big boons for us have been using ENUM types where necessary (small known dataset for a column) -- now your column takes 4 bytes instead of N bytes for a string. I find them a bit easier to work in than foreign keys for this optimization because of their direct string mapping.

We've had really good mileage with Datadog's APM tools, RDS performance insights and pghero as you mentioned.
Still selling brand new machines with 5400 rpm HDs. In 2019.

It undermines the brand. Any Mac a customer buys should have good enough performance. 5400 spinning disk hasn’t been fast enough for a decade.
have you never seen apple reviews by third parties? Their performance and battery estimates nearly always pan out, if they aren't a little pessimistic.
Is that because hunger has been diminished, or because obesity has increased?
I don't think so at least as of mid-2017, I just searched and found videos on how to do the upgrade. Basically turn the thing over, open a latch, and swap out the ram.
Pinterest allows you to create an account by using google account, I suspect that google gets a few users from them thats why they allow it
Agreed. Updates 2 days in a row is a bit of a new thing for Apple. It is a good change if they are setting a precedence for doing more frequent spec bumps outside of events. We will not know for sure until 6-9-12 months from now.
Stop using the internet and read some books. Move out of the city, and live somewhere quiet where life is slower. Don't waste your money on a smartphone.
basically less available gem/packages for Flask, and when available less quality or less plug and play.

The difference is felt especially when doing basic stuff that most web app needs such as auth, routings, request/response parsing/building, etc.

Even for things like user authentication system with session management, etc. in Rails with Devise you add Devise to your gem file (1 loc) then run `rails generate devise:install` and you basically have an auth system with sessions, login, etc. We are talking a few minutes and boom, your app has a fully auth system.
Aren't fish and prawns animals? Would you still considered a vegetarian if you ate them?
So... No real reason?
Basically, what irks you is that Vue separates presentation (visual) from the logic via <template> and <script>, reusing components via HTML elements is poorly thought out and binding values to attributes is bad because hey, you can actually use JS to compute the value.

Naturally, even though you can disregard the templating and resort to idiomatic JS, like one in React, you managed to develop an opinion after not using the features you like.

This just makes no sense honestly. I'm all for people having opinion to the point where you can blatantly say "I hate Vue because I like React more", there's literally no need for justification.

But spewing nonsense just to justify your preference is just bad. Are you a junior dev by any chance?

I've used both extensively and I can recommend Vue over React because React is a pile of mental manure. I never understood React hype, but then again - IT is a fashion business, and when "leaders" invent crap - flies tend to follow.
It's been user-replaceable on all but a very few models. Apple even puts a little panel on the 27" models that you can easily pop out to replace on your own
OWC has been selling iMac upgrades for a long time, but you can use any brand memory.
I don’t think so - but you used to have to separate the screen from the base of the computer which while very doable was much more involved than popping open a case and inserting an additional stick of of ram
> You're assuming a meat-based diet is automatically healthy

I'm asserting that it's harder to be nutrient deficient given a meat/fish-based diet. The only "work" in this diet is not eating too much.

> western diet is strongly linked to all of our most deadly diseases

Mostly due to overconsumption, not due to the composition of the diet. Controlling for caloric intake eliminates most differences in health outcomes between the various diets, assuming no nutrient deficiencies are present.
Companies don't price products based on component costs.
Have you tried remapping esc to capslock? (Or ctrl to capslock and esc to ctrl). I would never go back to normal esc.
Not sure why you're getting downvoted. This is absolutely a cause.

Anecdotally, my parents did well during the recession using it as a time to purchase assets "on sale" as my dad put it. Now, 10 years later they've done well on everything they bought, and are seeking new places to put their money.

They've had success with real estate their whole lives and see no reason to change what works. As a result they are buying anything they can collect rents from.

The cycle continues.
The 21 inch model seems to have RAM slots, but not easily accessible like its larger sibling.
The 27 inch has 4 user accessible SO-DIMM slots.
In most models there's a door on the back for a quick swap.

https://support.apple.com/en-us/HT201191#install1
Very clean and elegant website, well done.

Question: how are you producing the code, with a static website generator such as Hugo or Pelican, or are you typing it manually?
Ask HN: What is the thin vertical green line in these search results?
When I perform this search: https://www.google.com/search?hl=en&q=why%20do%20characters%20with%20accents%20look%20like%20gibberish%20characters

There's a thin vertical green line in the search results (you might need to scroll down a bit). The behavior is persistent across browsers, private window or not. Is this a bug with Google? Can anyone explain what the cause is? I'm really curious.
I like the ribbons, at least in MS products.
Figuring out which threads to wake up when is an equivalent problem to sorting. The kernel has to maintain a queue of threads sorted on their sleep times in order to implement the sleep syscall in the first place
vim lifer here, I'm dreading the day my 2015 rMBP dies.
With current SSD prices being at rock bottom, can a 128GB SSD cost more than a 5400RPM 2.5" drive?
It's only fair they pay their hosts one way or another, given they're actively avoiding paying taxes.
I was able to quickly get the CSV file as well.

The javascript is located at SITE/counter.js

My first guess for the CSV was SITE/counter.csv

It worked.
RAM is easy to upgrade on the iMacs. I just bought the 8gb model then bought sticks off Amazon to get to 24gb.
In 2017 generation it was not soldered. It's soldered in 21" from 2014 and 2015 years. I think that even CPU is not soldered in latest generation.
Good question！
If the type of the parameter of callback is an r-reference, users must move resp into the callback. Note that the resp is a shared_ptr, which means callback can reuse the buffer or do anything to the resp object and copying smart pointers does not require too much cost.
iMacs still have a latch to swap out RAM [1]. That, too, may soon be gone. Because on the iMac "Pro"s you have to disassemble the whole unit to get to RAM [2].

[1] https://www.ifixit.com/Guide/iMac+Intel+27-Inch+Retina+5K+Di...

[2] https://www.ifixit.com/Teardown/iMac+Pro+Teardown/101807 and https://everymac.com/systems/apple/imac-pro/imac-pro-faq/ima...
"But we cant compromise profits of our high end line"
Code for today's problem has an issue... uses 'const' on something that it redeclares... Also couldn't get my solution to run.
And yours is a good example of a troll comment. Living in Bulgaria now is a lot better in almost every way compared to the communist times.
Given the improvement in technology, you would expect a decreased price in that case.
I had forgotten about Yalp. Wouldn’t you still encounter compatibility issues with apps that require Play Services functionality?
> To the extent that HTTP/3 is faster/cheaper/better

This is rather questionable assumption. For almost everyone in the world it's not faster/cheaper/better than HTTP/1.1, definitely not worthy enough to even bother with it. So, the only way it can get anywhere is if Google abuses its position and forces everyone to adopt it. Which they probably won't do for such a silly thing, they get more out of it by coming up with more useless mediocre "faster/cheaper/better" protocols HTTP/[4567], because this pressures competition to waste resources on that, instead of on something that can compete with Google.
My 2017 MacBook pro is definitely my last Apple laptop because it's just too expensive and unreliable (for reasons well discussed on HN). I have definitely considered getting a Mac Mini, but the new iMacs are definitely interesting. One thing I'd be concerned about is cooling. I know the iMac Pros are not ideal from a cooling perspective - I can't imagine an 8 core processor @ 5GHz plus a Radeon Pro GPU runs cool. I'll wait for the user-upgradable Mac Pro before I make a decision.
I have an ancient Dell Precision M6600 with a Core i7... and an ancient 5400 RPM hard drive. The machine is unusable. It's worse than nearly any other machine with an SSD--even one with a much weaker processor.
What's wrong with the link " Try Matrix Now / Get Chatting ", right below "Welcome to Matrix / Learn more"?

https://matrix.org/docs/projects/try-matrix-now.html
If its that much mental stress, get an Otterbox case or similar.