skysight-inc/HackerNews huggingface dataset:
Qatalog | Engineers, Designers | London, United Kingdom (Shoreditch) | Full-time, Onsite | https://qatalog.com

Qatalog is building the modern operating system for companies to run on. It is an online platform that brings all parts of the organisation together and streamlines operations. We're VC funded by some of the best investors in Europe. Product is its early stages and you can have significant impact in shaping it.

Hiring for the following roles:

- Software Engineer, Full-stack (React, NodeJS, TypeScript, Koa, PostGres)

- Software Engineer, Frontend (React)

- Software Engineer, Backend (NodeJS, TypeScript, Koa, PostGres)

- Product Designer

Hiring at Mid to Principal levels. We're an ambitious, experienced and compassionate team with some tenured ex-Amazon and ex-Transferwise leadership. Looking for strong technical talent that wants to work in a tight team, contribute and grow with the company. Benefits:

- Strong compensation [Mid - Principal, £60K-£85K] and equity [0.2%-0.5%]

- Early stage company, be one of the first 10

- Private health insurance, Pension contribution

- 25 days (5 work weeks) holidays

- Your pick of equipment

- Very nice office in the heart of Shoreditch

- Friendly, great to work with colleagues

Email: work [at] qatalog [dot] com
Ask HN: Do you ever sign up to a newsletter modal?
I can't stand how (low skill) marketers try to capture your attention, especially on fashion/ecommerce sites, with a modal for you to sign up to their newsletter (which must be junk 99% of the times) and I bet the conversion is in the lower one digits.

Is it really worth it to shove this in the face of a user who just landed, risking to piss them off and losing the actual purchase?

Is it one of those things that everyone reads on marketing blogs and will continue to apply mechanically for another 10 years?
I never wanted to be a moisture farmer, I just wanted to go to Tosche Station to pick up some power converters!

Although, realistically, it could still be useful in non-desert places? How about drinking water on ocean vessels?
Yeah, this is so much truth. It happens more than in big cities too. It's driving up home prices in smaller college towns, for football, graduations, and old people tourism, and it can really put a crunch on supply for people who actually need to live there.
I'm super curious what the ML looks like behind the scenes. Do y'all think it's just a GAN thats been fed tons of logos that already exist? That seems unlikely–I can't imagine there are nearly enough logos for that.
For those reading along, the post describes a vector-like datastructure that has O(1) access time and O(sqrt(N)) insert and deletion time at an arbitrary index. The idea is pretty clever. The datastructure maintains sqrt(N) circular arrays each of size sqrt(N). For reference indexing into a circular array has O(1) access time and O(1) insert and deletion time at the ends.

For accesses, you can in constant time determine which circular array contains the element at the given index (it's simply i % sqrt(N)) and then in constant time access the element from the underlying array. For inserts and deletions, you find the circular array that contains the location you want to insert into. First you make sure there is space in the array to insert. You do this by moving one element from each circular array to the next one. Since deleting and inserting from the end of a circular array takes O(1) and there are O(sqrt(N)) arrays, this takes a total of O(sqrt(N)) time. Then you insert the new element into the middle of the designated circular array which is of size sqrt(N) so it takes in the worst case O(sqrt(N)). This means insertions take a total of O(sqrt(N)) time.

As immawizard pointed out, there is a generalized version of this idea called tiered vectors[0] that supports an arbitrary level of nesting. A 1-tiered vector is a circular array. A k-tiered vector is an array of n^(1/k) tiered vectors of tier (k-1). You can show that for a k-tiered vector, access time is O(k), while insertion and deletion have a runtime of O(n^(1/k)). The datastructure mentioned in the post can be considered a 2-tiered vector.

The post includes benchmarks comparing the datastructure to std::vector. I would be interested in seeing benchmarks vs a binary search tree. Even though the datastructure has O(sqrt(N)) performance, that's still a lot slower than O(log(N)). The square root of a million is 1000, while the log base 2 of a million is only ~20.

One nitpick is that the author names the datastructure after themselves. Naming things after yourself is typically a faux pas.

[0] https://www.ics.uci.edu/~goodrich/pubs/wads99.pdf
Android still has far superior notifications, both on the control side and the display side. You also basically named half of the features in "other than" list. iOS is also just getting dark mode too so not "for a while". The only thing they've had for a while is better permission control.
> "closing off what's left of the open Web."

Seems a little over the top to me!

Also, Mozilla is very good at standing up to Google. They beat them on webasm, rust is arguably supplanting go, and most of all, it was Mozilla that effectively killed web components which were very dear to Google.
> Maybe, but that hasn't really been how most other taxes have worked. Cigarettes for instance are heavily taxed, but you don't see a lot of people running on reducing those taxes.

At the risk of pointing out the obvious, <25% of Americans smoke cigarettes, while >75% of them have taken a flight at some point in their lives. If 75% smoked, I guarantee people would be running on eliminating cigarette taxes. I'm personally in favor of carbon taxes on flights but I'd imagine "under my administration, flying would be affordable for the middle class again" could be a pretty effective message.
Indeed, I don't think the logos on the OP home page look any better than these.
What's preventing Mozilla from shipping it as an extension?
Thanks a lot for providing feedback. I am guessing by your comments that you made a logo on mobile. If that's the case, we have been trying to fix this issue ASAP hence the message "click modify to see high quality version". These problems arise because of resizing on canvas and we have already fixed a lot of them. We'll hopefully fix all the quality issues in a couple of weeks but since the logos are not way too blurry, we are doing it as we go. Moreover, people usually buy the logos on desktop and the quality is pretty good on desktop from what I've observed on different screens. Please correct me if I am wrong.

Thanks again for your feedback. If you happen to visit the website in a couple of days, you'll hopefully see much better logos in terms of clarity.
Guys are giving away $500 of $ETH every day in a crypto competition
These guys are giving away $500 of $ETH every day in a crypto competition.

https://coincircle.com/l/xlvUY_eqI9
OCR text selection is available via Google Lens. What I'm talking about specifically is the ability to select out text from app pages where text selection is not usually possible. For example, say an app had button text or an embedded image, it is not possible to select these unless the app developer made those selectable. In Pixel devices, it's possible to go to the recent apps menu, and select these unselectable texts via OCR. This feature was previously available to all devices via Google Now On Tap but has since been limited.
It was about a 4.5 for me. We had a product that was very barebones but it did what it promised
Don't know what to tell you; I've done it plenty of times.

15 mins to the airport (I live close to a freeway entrance), 10 mins to the gate, 40 min wait time till takeoff, 90 mins in the air, 10 mins out to the curb, 15 mins to my friend's house near Hillcrest.

Sure, if I'm traveling at the height of rush hour, the car trips to and from the airport will be longer, but the solution is to... not do that.
Can you guarantee that your logos don't conflict with those that are already trademarked?

A bit part of logo design is ensuring that it can be trademarked, so this is pretty important.
> I would offer to fix your issues with VMware Fusion, but couldn't even patch it to support HiDPI even if I wanted to because it's a proprietary closed-source application.

FYI: not only VMware Fusion but also two of my laptops also has the same problem. It's the desktop DE that has to be patched, not VMware Fusion.

The bug is about mouse pointer's size are displayed differently in GTK/non-GTK apps, if you're interested.
There's lots of different 'solutions' in the web, but it's a hassle to find out what works. :-(
Now for a truly unpopular opinion:

Uber, Lyft (on basically all other on-demand/delivery services) are making urban living qualitatively far worse on average than the benefit of extra commerce facilitated by them. They should be banned outright. Give us our streets back.

Back when ride-share and on-demand/delivery services were not so ubiquitous, you could either get out and do a chore yourself or do without. For example, one recent weekend I casually mentioned to my wife that I was craving a specific sweet popular in my hometown in Eastern India. She surreptitiously looked up a vendor selling that sweet where I now live and had it delivered. I loved the gesture but it made me think that without delivery, I wouldn't have caused a bike messenger to pick up my snack and bring it a few kilometers to my house. Ergo, no environmental impact, no added traffic, less use of plastic and packaging, and all manner of downstream impacts attributable to me.

Yes, there are positives - less skilled/more entrepreneurial people are able to support themselves as drivers, money flows around from consumer to producer as it should in a healthy economy, my cravings are being met and my wife is able to exercise her love language, and so on but IMO, the negatives outweigh the positives.

The extra traffic introduced by delivery is untenable, at least in urban India. Delivery persons drive often don't obey traffic laws with minimal consequences. Becoming a driver provides MVE - minimal viable employment - for someone facing economic pressures so instead of upskilling to earn more, they stagnate. The environmental impact of delivery alone should make us worry about their usefulness.
Socialism has another meaning that fits better into the old saying: namely, the provision by the government of economic security to the individual.
Huh, the first handful I saw on your twitter feed do look pretty good to me, I agree.

The ones on your home page look a lot less good to me. I'm not sure you've picked your best to show on the home page, I see the home page and think "eh, these logos are not that good, I probably don't want this."
THX Deep Note Trailer 2019 (4K) – Genesis [video]
You could do this with O(N^1/K) for arbitrary K, using K layers of indirection, no?

This is similar to how you can do O(logN) for insertion / deletion & access using an indexed B-tree, except you're using a fixed height instead of a fixed branching factor.
> ...pedestrians are killed by cyclists

Is this very common? I've been hit by cyclists before (apparently red lights are a suggestion if you're pedaling?) but killing seems like it would be difficult.
Scrolling through the site, one seizure-inducing color change to the next, I find that just one word or small phrase per page is ... not conducive to actually reading anything, nor conducive to wanting to explore the service.
I don't think there is enough information from the database schema to feed an ORM reliably. E.g., take a "boolean" in MySQL: MySQL doesn't have proper booleans, it just represents them as a `tinyint`. But you'd really like your ORM to convert those to your language's `bool`!

There is certainly a lot of information in a schema, and you definitely want your ORM's idea of the database and the database's idea of it to be in close alignment, but I feel like any serious attempt would find all sorts of holes like the above when it actually came to doing it.
I used to really dislike work profile, but I gotta say it has gotten much better over the past few versions. For one, it seems like they're implementing a way for Calendar to share between personal/work in a single view, which was a huge pet peeve. They also allow for custom keyboard on your personal profile in Q which is great.
Every time I visit a place like the Akihabara I am semi disappointed to not see a guy hawking transformers and power supplies at a booth named "Tosche Station".
You might want to ignore the boring advice to put your money into an index fund and never look at it. This is what Jack Bogle, Warren Buffett, and several others recommend.

If you are itching to try stock picking do it. If you want to try options, do it. If you want to try bonds, do it.

After all of those itches have been scratched, and assuming you aren’t an accredited investor (200k+ income/yr or 1MM net worth), you’ll be happy to put it into an index fund and watch compound interest work it’s magic.
Correction: Speakerbits went offline for a while a couple of years and that was talked about - then silently came back it would seem.

Great, at least I know where I'll go if I wear out the current surrounds or anything else.
I have the opposite problem. I live right next to a bike path with a dedicated traffic symbol and around here bicyclists seem to think they don't have to follow traffic laws.

Specifically the issue is running red lights and not stopping at stop signs. It's not "optional" for bikes in California.
Veamly Loves SaaStock West Coast[Parody Song]
When operating at scale, it becomes necessary to have separate processes/systems for schema changes (DDL) vs row data migrations (DML) anyway.

For example, say you need to populate a new column based on data in other columns, across an entire table. If the table is a billion rows, you can't safely run this as a single DML query. It will take too long to run and be disruptive to applications, given the locking impact; it will cause excessive journaling due to the huge transaction; there can be MVCC old-row-version-history pileups as well.

Typically companies build custom systems that handle this by splitting up DML into many smaller queries. It's then no longer atomic, which means such a system needs knowledge about application-level consistency assumptions.
There’s a relatively recent novel set during the removal of Les Innocents to the new catacombs (Pure, by Andrew Miller). A good read, and like many discussions of these events, it makes the obvious connection to the moribund Ancien Regime.
Sometimes ORMs are like trying to tie a fishing lure with mittens on. Frustrating.

On the other hand I can not stand, no, really really really cannot stand clever 1000+ line SQL queries. Writing an entire program in one dense line doesn't show how smart you are, it shows you don't have a clue about the bigger picture or else lack respect for the time and mental health of others.

For most cases on a team and for maintainability I've finally decided the advantages of a good ORM and migration tool where you can commit migrations in a rational and standard pattern far outweigh the disadvantages. But this is not because I don't know or respect SQL.
> there's no visual indication in OS X that the battery is about to die and AFAICT, OS X would happily take no action, since it believes it's connected to a power supply.

AFAIK, macOS is aware of three different states: 1) no power connected, 2) connected to power (but not charging), 3) charging battery.

2) is indicated by the black background of the battery charging icon, and 3) is indicated by a white background of the battery charging icon.

In the case where the power source can't deliver enough energy for charging (in your case), it is in state 2); and I'm pretty sure macOS always takes action when the battery is about to die unrelated to the state. It'll backup the RAM when the laptop's battery level is dangerously low and shut off itself, and will be restored later.
Safari doesn't feel the pressure to implement this API - why does Firefox?
Open Source Finance [pdf]
It seems like insanity that that is not already illegal. It is in Australia and people still do it, most drivers would just rather risk killing someone if it means 5 more minutes on Instagram
Easy to get confused because humidity % tends to be higher at a lower temperature (morning dew for example).
I'm in the undergrad program. I 100% agree with you re: it is what you make of it. I think I'm in a much better place in my life to take advantage of the offerings at Harvard and the education. Good luck with the PhD!
For comparison, here is a YouTube video compiling the different THX trailers from 1983 to 2016: https://www.youtube.com/watch?v=DvFN-ARxvjM

And a link to the Earslap page on recreating the Deep Note: http://earslap.com/article/recreating-the-thx-deep-note.html (2009)

… which was covered here in 2014: https://news.ycombinator.com/item?id=7537674

… and again, almost exactly one year ago! https://news.ycombinator.com/item?id=18078239
On one hand, it's important to keep an open mind. On the other hand, when you're dealing with a subject that's been a scam magnet for decades, more than a little skepticism is warranted.

Airplanes worked out, but 'dehumidifiers in the desert' is close to flying car territory. (https://en.wikipedia.org/wiki/Moller_M400_Skycar)
You're overthinking this. People run red lights because they are impatient and don't get punished for it. There must be a 1 in 1000 chance of actually being caught. Maybe even better odds actually. During commute traffic in my area, without fail people will run the red lights, usually 2-3 cars minimum every single cycle.

Traffic code is unenforceable by current methods. That's the place to start. I for one am all in favor of the idea of red light cameras however, they were shown to actually cause more accidents. Go figure.
I think the masks can take it but their is a ton of difficulty in inspecting the masks themselves for defects. IIRC the leading candidate at the time I was in the industry was to actually expose wafers and then scan the wafers for defects which originated on the mask, hoping to not confuse these with other process defects. Not sure how they ended up solving that one.
I'd wager because strong emotion tends to result in strong memories, and waiting for a needed ride that isn't showing up is stressful, particularly if you have no insight into where the right might be or if/when it's arriving.

I have memories of several times I was stood up or unreasonably delayed by bad taxi service / rideshare service, and the higher-stress ones (e.g., when I was trying to catch a plane) are the most vivid. One's from over a decade ago - I can't remember where I was going, but I remember the room I was in, pacing back and forth, calling the taxi dispatcher for the 3rd time.
That really is a remarkable visualization! So much so that I had to compute it for myself - 27,000 liters of gasoline will move an average car 287,000 km assuming 9.4L/100km which is the average 2017 fuel economy for a "car, light truck, SUV" in the US.[1]

[1] https://en.wikipedia.org/wiki/Fuel_economy_in_automobiles
Open-Source Finance: From Scarcity to Abundance
~70% of oil is used for transportation. Take away the ability to amortize the enormous infrastructure costs at the gas pump and it's not clear that oil will get cheaper, the exact opposite may happen.
>Make it a felony to use your phone (e.g. looking down at it) while in the driver seat of a vehicle in motion.

Dunno about the enforcement but in France it is illegal for drivers to use their phones even when the car is stopped.
I'm not expert, but my sense is that Android is open source (easier to find bugs) but memory safe (Java), whereas iOS is closed source but memory unsafe, and tooling is recently at the point where it's feasible to find many exploits despite not having source access, so the lack of memory safety is becoming more and more untenable over time.
The Push Front time could be improved to O(1)* by making it circular. Assuming "*" means amortized. But as-is it does provide a better comparison to an array. A circular IgushArray would be better compared to a circular array (which an std::vector isn't).
The other problem is that there are a dozen or more cab companies in SF, so sometimes you'd call a cab from one company and see empty cars from other companies drive by. So you have to make the choice between alienating the company you called by taking a competing cab, or waiting and hoping that your called cab shows up.
https://twitter.com/peterwallhead/status/1168988035846934533...

The ads shown in this tweet have Basecamp in their url. I don't think they should have allowed this.
Maybe it increases the load time of the lambda? But I’m already using a lambda attached to a VPC using the proxy integration and running either Node/Express or C#/Web API so its not like I’m always using lambda as efficiently and lightweight as possible.

So there’s that...
Tesla Autopilot was engaged before 2018 California crash, NTSB finds
I don't recall ever having someone ask me not to post something. Is there an inbox or something or is it all reply based? I get "flagged" sometimes, but that just means someone pushed the "flag" button right? I thought posts were just deleted when they reached -1.

EDIT: Now this post and the grandparent post have had their points reduced. So, now I'm super confused - if this post had been detached from the main thread, who is downvoting it? Do the mods have abilities to see (and vote) on threads removed from users with lower access rights? Sorry for all the questions, but I'm not sure I understand how the comment system works really.

EDIT EDIT: OK now I understand how detached works, thanks.
PCIe uses different rates than USB, but both at their basics use NRZ (Non-Return to Zero) https://en.wikipedia.org/wiki/Non-return-to-zero. The bigger differences are in the channels they target. The channels characteristics drive the complexity of the signal processing circuitry required (eg Power and Cost) in the PHY devices. Hope that adds a bit of clarity to your PHY question.
It is not common. In Britain, well over 99% of pedestrian deaths are caused by motor vehicles.

https://www.theguardian.com/commentisfree/2018/mar/08/killer...
A distracted pedastrian is only a threat to themselves. A distracted driver can easily kill dozens. If anyone is operating a vehicle in an area with blind spots or pedastrian activity they need to be operating at a speed and manner to avoid hitting a person.

Further I'd like to note some crosswalks have a compliance rate of 0%. I was in Santa Monica. The sidewalk was closed. To comply with the signage I backtracked to the first available crosswalk to crossover. I waited and waited and no one stopped. I even stepped in the road to indicate my intent to cross. Still no one stopped. A ridiculous disregard for pedastrians is why people are dieing out here.
Walking on the moon? Indian actor walks on crater-like potholes
The article indicates that it's pretty much six of one and half a dozen of the other.

iOS is more of a monoculture compared to Android, so a successful exploit chain against the current version of iOS has the potential to affect quite a few more users.

On the other hand, the article states that Android is more fragmented, so a successful chain of exploits will likely affect fewer users. The article hints that "one-click" Android exploit chains are harder than iOS, and so are worth more at the moment.

It's interesting to me that a one-click compromise is so valuable given the supply-chain vulnerabilities [0] and ongoing "dodgy-app" issues [1]. Google just dropped a boatload of iOS issues, but they also just took care of nearly 200 issues, some long-standing and some critical in severity, within Android themselves [2].

It seems like declaring one as more secure than the other is more a game of hot-potato than anything.

[0] https://krebsonsecurity.com/2019/06/tracing-the-supply-chain...
[1] https://nakedsecurity.sophos.com/2012/07/31/almost-every-and...
[2] https://www.forbes.com/sites/daveywinder/2019/08/23/android-...
AI algorithms to detect cloud formations that lead to storms