skysight-inc/HackerNews huggingface dataset:
The way I solved this for Faceweave is, if no face detected, let the operation proceed anyway. This gives the user the ability to line up the face themselves.

The logic is basically: ask dlib for face landmarks; if no landmarks, resize image to 1024x1024 and proceed; otherwise align face.

If you happen to like lisp: https://github.com/shawwn/stylegan-server/blob/10c396fa2ef07...

Also, congratulations on launching this! Super exciting.

Readers, if you use twitter, be sure to follow the creators:

Justin https://twitter.com/Buntworthy

Doron https://twitter.com/Norod78

Been following them for like twenty years now. They tweet a bunch of awesome stuff about ML, and stylegan in particular.
I've been doing some restoration on an analog computer. While it seems bizarre now to solve a problem with analog circuits instead of a digital computer, analog computers were a reasonable approach until about the 1970s.

The basic idea of an analog computer is you use op amps to sum voltages. Integration is easy, by adding a capacitor. By hooking up op amps, capacitors, and resistors (usually with a plugboard), you can quickly and easily solve differential equations. (Surprisingly, multiplication by a non-constant value is hard with an analog computer.)

The nice thing about analog computers is they gave the answer almost instantaneously. You could turn the dials and experiment with different parameters interactively. A digital computer in 1970, on the other hand, might take minutes to solve the same equation. This also made analog computers useful for real-time applications such as flight simulators.

A big problem with analog computers is that the accuracy is limited by your components. If you want 0.1% accuracy, you need expensive 0.1% resistors and capacitors. With a digital computer, you can get as many bits of accuracy as you want using cheap components. Basically, Moore's law killed off analog computers.
Thank you for this report. I've passed on the information to the right team and they are looking into it.
Ask HN: How do I get press coverage for my startup as a high schooler?
I'm a 17-year-old from a small town in India. There are barely any opportunities for young entrepreneurs in my town and most of what I have achieved so far is by connecting with people and getting to know more about the events as such. I started programming at an early age ( 11 ) and have built several projects since then. I'm the founder of DomeCode ( https://domecode.com ), a platform that improvises upon existing "learn-to-code" platforms by providing a unified experience. I have gotten over 300 registered users at this point ( I realized it barely 3 weeks back in the alpha version ) and over 2.6k users. This is something that would usually get media coverage especially if a highschooler built it. How do I get media coverage?

Reasons :

- Better chances of getting my startup crowdfunded

- It's something good for my college application

- I believe this needs to get out there
Your conclusion doesn't make sense. There are many people who do good things because they are convinced of a higher cause. People go into medicine, or help at a charity, or go into law for a higher cause all the time.
e.g. maybe write it as "b * c += a" ?
... lol full on LR - no ambiguiity.
You’re talking more about goal-seeking functions right? That’s the one I always see in a finance context.
search that actually works.

It baffles me that I can't search someone by firstname lastname and have our messages thread come up 100% reliably.

Sure it works some of the time, but not for older threads.

Im ok with waiting 10 seconds as long as it returns the results I know are there. I am forced to go to Contacts and find the person, then click the new message button linking into messages.

Contacts app has a similar issue. I have < 1000 contacts, yet I can't search reliably for a contact I know is there by first / last name. I have to scroll through the list of all my contacts to get to it.

Maybe this is a bug, but its been an issue for me for years.
The Rust compiler had some severe bugs in the past which undermined the effectiveness of the memory safety. There is the saying in software engineering that the number of undiscovered errors in the system is proportional to the number of discovered errors. On the other hand Ada compilers used to be subjected to strict validation procedures in the past, and the AdaCore toolchain has an ISO 26262 and IEC 61508 qualification. That was the source of my remark.
Show HN: Player.html – the one file video library and player for any HTTP server
If Apple had a dominant market position in smartphones then one could argue that end customers don't have much of a choice, but Apple only has at most 50% market share in the US and much lower globally. For my own smartphone usage I would much rather Apple choosing which features and APIs that third-party developers (of apps and websites) can use rather than those developers being able to do whatever they want. I think it's pretty clear that developers tends to have a much more hostile relationship with their end users than Apple does with their customers.
Still upset.
No way I'd ever depend on Google for more than mail which I can reasonably back up. Not with the only meaningful way to get support from a live human is either knowing employees personally who can raise issues internally, involving the media or raise a shitstorm on Twitter/HN, and at the same time them having "AI" blackbox algorithms close down accounts with no recourse.
I doubt think this has been true for most of history. Rather usually one lived and worked the farm with the family. Then it got subdivided as more children survived childhood, at least until the birth rate declined.

There has been golden eras, usually from expansion or industrialization where youths could acquire their own places relatively young. But it doesn't scale forever.
Help me critic this; esp. that Planet and Society invest in wealth creation
Really what is being argued here is that C pointer optimisation is difficult - and because C is designed to do stuff like coding the insides of the 'new' primitive (ie malloc) you can't make the sorts of assumptions about aliasing that you can in other languages.

I'd argue that if you don't understand that you probably shouldn't be coding in C (I'll let others argue about C++)
I feel like large companies see developers/engineers like a commodity, give them a spoon and tell them to move a mound of sand. As soon as you tell them you have a shovel, they'll say... well we have spoons, we've always used spoons and you need to continue to use a spoon. We have managers and vendors that take them out golfing that we pay millions of dollars to and we signed a 5 year contract to use spoons, so use a spoon.
If you want to get down to a nit picky level like that then, sure. And to be fair, maybe it should be explicitly stated. However, Facebook sells access to the data it collects. It may not be access to the raw data that a phrase like 'selling the data' makes it sound. However, it is making money from the knowledge it has about people (can't even say its users anymore). Either way, the ad buyer (end user) gets access to that data even if it is a black box API style system.
The quiz asks for a range that will include the correct answer 9/10 times. Not a point estimate. If you don't have the relevant trivia in your head, broaden the range proportionally. I think the intended point is that we're bad at judging probabilities. Getting 100% right (within range) is probably supposed to be as concerning as getting 0% right.
> Living with the parents isn’t the best way to get social interactions, unless it is a venue where they can be for _caring for others_. Because young men are especially deprived of places where they can care for someone, women being very independent nowadays, especially in their 20ies. And caring for someone is the blood of the soul.

I think you put that very nicely.

I think I understand this problem, and I have empathy for these men (it also took me a long time to get my first relationship, I know how it feels). I just don't know what the solution is. Their frustration might to some extent be caused by the independence of women (where women now may prefer to be single than to be in a relationship they don't really want), but I don't think it's right to hold back on women's emancipation in order to make men feel better about themselves.

What exactly is the right's suggested solution here (I ask this out of genuine curiosity)? Today's mainstream right looks at these frustrated men's hardening hearts, and all it seems to see is an opportunity to accelerate that hardening for political gain, by convincing them that the source of their woes (and the rightful targets of their anger) are immigrants/feminists/protestors/... I'm skeptical that we should expect any workable solutions from there.

Also, as a side note, why do you feel the need to use quotes around "Extreme right"? Do you disagree with labeling rising movements like QAnon and incel/blackpill subculture as "extreme right"?
His actions were far from the sole cause, but they certainly contributed. The chain of causality being that he created Wikileaks and solicited releases of confidential US information. The confidential US cables then became public. The information in those cables helped start civil wars.

This may seem tenuous, but it was pretty much what he was hoping for. http://web.archive.org/web/20070129125831/http://iq.org/cons... describes what Assange hoped Wikileaks would accomplish before it had accomplished anything. Said purpose was to make it harder to maintain authoritarian conspiracies.

Given that, the fact that his actions caused trouble for authoritarian conspiracies in the Middle-East is an intended consequence.
> I've worked for companies that were a mess and would get 11/12, as they _technically_ were using source control and tracking bugs etc., just in the most unproductive/useless way.

ie: Security Auditing Style...
It's fine to buy a product and expect it not to require an intrusive violation of my privacy to use it. I hope lawmakers will completely bar this practice for all devices.
Cuzco is one. I think it's higher than the pressurization altitude.
Climate change seems to be one of the problems where acknowledging the cause is key to solving the problem. The only viable solutions we have right now involve mitigating the cause.
Never had any issue with Catalina, so there's that, and I'm quite a heavy user (development and unix userland, and nle, photo, and daw programs).

People often have some bad personal experience and deduce from that the OS is objectively and generally a "sshow", but it can often be some specific third party program, service, extension, or hardware -- or some genuine Apple bug that doesn't affect all devices/users/use cases.

The impact is often about something a user cares heavily about, but might not generalize to the OS. E.g. one might have a problem with Outlook servers (I don't have to use it at work, so never had the chance to have such an issue). But that doesn't mean it's necessarily (a) the OS's problem, or (b) something that affects anyone else who uses Catalina without needing Outlook.
Lovely looking editor with a bunch of features, but they seemingly forgot to include support for something as ubiquitous as C? That's kind of a weird omission.

I'll be following the development of this, but for now I'm not playing with it much further.
DRM obsessed developers: we need to spend time on this junk and punish our paying customers.

All other developers: we spend time on making better games and release them on GOG on day one.
This was the first thing I looked for too. Perhaps one is planned or perhaps they're counting on the community to write one using their API.

TBH the only feature I truly use JetBrains for is their Cmd+Click to jump to definition, otherwise I'd be happy sticking with tmux+vim as IDE (as I did for about a decade).
Oculus/Linden Lab vet's advice on creating avatars for metaverse worlds
Is DRM so totally useless that this is a worthy thing of note?
For me the lack of auto-complete that _I_ prompt (ctrl+space / otherwise known as intellisense) is a deal breaker, and TypeScript story is completely broken. Cmd+Click (goto definition) doesn't work across files (though I do like they've implemented 3D touch as an alternative to Cmd+Click).

Update: looks like if you context click on a path > Typescript > Goto definition works; Weird that it is not unified with the editor's concept of goto def though.

Agree with parent that it's a valiant effort, just way too immature w/ no compelling features over VSCode at this point.

Edit: Native editor is compelling for battery, but not at the expense of developer experience - and even then, it's been quite a while since VSCode has felt slow to me.
Citigroup Employee Who Operated QAnon Website on Paid Leave
very interesting, had no idea... saw them at a music festival in Miami and they put on a good show, cool to learn that they're investing in startups!
Amethyst is pretty nice, though I find I have to restart it once a day at least because it loses an app or two over time.
What sort of WPM did you have on normal keyboards, and whta have you been able to train up to on your current one? I plateaued at roughly 35 WPM on Dvorak as a teenager and have been hesitant to commit to major layout changes since then, despite the ergonomic promises that a lot of them make.
My favourite is Mail telling me "Message has not been downloaded from the server". And no way to tell it to download it.
> Man-made vs natural isn't a matter of morality or anything, it's just about whether we can do something to avoid our destruction

Your last paragraph points out that this isn't the case.
There was another great talk by a (former?) ITAsoftware engineer, unfortunately I can't find it. Among various things he shares is that there's provision for the passenger being a child at arrival but not on departure. Which obviously can happen if you cross the date line backwards.

It would be great if anyone can find it, I am certain I got it from HN.
Software engineers don't let others install major releases. They make them wait till at least x.1.
100%. Coda was especially useful if you weren't running your server stack on your local dev machine. Hit "Publish" and all your changed files are pushed up automatically. So much better than hunting through an FTP client every time you make a small edit.
Just downloaded, looks and feels great but I don’t see any way to configure a Python project? It does per-file syntax highlighting but no cross-file symbol resolution and I don’t see any place where I can configure the location of my virtualenv so it can find all the libraries. Am I just being stupid or is there no proper Python support yet?
Because it's there.
I used to be that founder. Until very recently. So Let me share my perspective. I was always worried that we are not doing enough revenue/business because we are missing THAT one feature compared to our competitors. Another reason was that whenever a prospect asked for some specific feature that we didn't have, I started thinking we need it in our core product without realizing may be no one else will ask for it again. After doing this for 6+ years, I have learned my lesson when my CTO basically told me that "you are finding excuses not to sell and if you think more features will get you more sales, you are stupid". He said it in a nicer way but I finally realized it. Wasn't easy. Still sometimes I tend to get in that mode but now I know better. Glad my CTO had that talk with me.

I suggest you sit down with him and discuss his point of "focus on delivering value". Instead of blaming him or telling him that he is wrong, ask him why he believes that adding new features is the only way to add value. Is he worried that we won't get more sales without new features ? Try to understand his mentality on why he is so obsessed with features and may be then you can get somewhere.

If he doesn't listen, connect him with me (half joking :) and I will tell him that as a fellow founder (even though I am myself technical but don't write code anymore), features are not what we should focus on to get more revenue.
Another way of looking at it: You have nine districts. Overall popular vote in the state is 55-44. Should the districts be awarded 5-4? Or should each have a 55-44 split?
Magic Number (Physics)
Would you mind sharing what the culprit was? This sounds really curious.
>And before you complain "it's insane that I have to do that", you've already done that: just you picked Apple.

So the manufacturer with the longest update period, whose products also retain the most resale price to boot?
Is it just me or is the text on the webpage completely unreadable with that font and shadow effect?
You might even be able to fit a whole octet of programmers around a keyboard of that size.

All working together casting arcane spells with the aid of the keyboard.

Dialects of programming languages so old and obscure that even Cthulhu himself would flinch at the sight upon such seeing.
How is that pompous? Seems rather straight forward to be honest.
There's no such thing as a hard deadline. Everything is made up.

"This video processing software needs to be ready by the Superbowl" or "This electronic voting software needs to be done by election day" don't strike you as hard deadlines?
> The mistake people make is in thinking of Android as some monolithic, consistent thing.

Well, the Android branding is all over the place. No one thinks “I’m going to switch to Samsung”. It’s “I’m going to switch to Android”. Android phones are commodity devices.
News from Facebook Connect today: Quest 2, FB smartglasses and more
I fail to see how?
> This passage presents altruism as a tit-for-tat deal with God. Do good, and you'll get some of that back...later. I promise! It's almost tacky.

Correction: the passage makes no mention of "heaven."

I don't think you mean to say "tit-for-tat" as that means something else, but I do get the gist: it seems that there's some kind of contractual obligation on the part of God. The logical argument being: if you do [GIVE], then He does [REWARD]. This is a subtle argument, but flawed for a number of reasons (and why texts should never be taken out of context).

First, God isn't beholden to anyone. He does as He pleases, and the only "laws" He is bound by is His own nature (good, omniscient, eternal, etc.). There's many examples where Pharisees try to play these logical gotcha games with Christ, and they're always repudiated.

Secondly, the point of the passage itself is twofold: (1) avoid religious hypocrisy, and (2) avoid materialistic vainglory. Reading into the text deeper than that, brings us to my last point...

Finally, given that Christianity is a theist moral system, it makes sense that the ultimate arbiter of "goodness" is God -- in my opinion, that's why Chist brings up the "reward" -- which, for all intents and purposes, might just be God's approval (who knows what that entails).
Facebook’s employee compensation will be adjusted based on the cost of living
What exactly problems do people have with iOS 13?

I always here some complains here and there. but, as with Catalina, never had any issue. Is it specific apps?
I'm holding onto mine because it still meets my needs, very well I would say. Why upgrade when I really don't need to?
Second, I've grown to know Apple and am sure they will add improvements to the new model, probably fantastic improvements but but they will probably take something away as well, something that I am using now and don't want to be forced to change. I don't know what, maybe the phones jack or something. I am not buying a phone without the jack (no dumb dongles please). However, if all is good after the 12 is released and nothing is taken away I'll consider upgrading when my current SE no longer works.

I'm actually planning to use my phone less and less because I am trapped bad habits and that results in unnecessarily wasted time.
That’s a tech-centric view. For most people a browser is defined by its features like tab handling, account syncing, preferences, extensions, etc. Nobody cares about the HTML engine, only developers. The fact that it’s possible to change the default browser is an important user-level feature.
It might also matter what languages the poster is using. Programming typescript in vscode is a peerless experience. But writing C and Rust feel much worse - I get 200+ ms latency navigating around and typing sometimes, and cmd+click navigation gets janky and breaks very regularly in both of those languages.

I assume the culprit is half baked language extensions. I love vscode for typescript but I’d happily switch which editor I use for rust and C if I find something better.
Can software development jobs actually be reliably estimated though? It's not like other jobs where you can statistically analyze the performance of workers and estimate how long they take to perform tasks. There are too many factors at work here, no doubt there's going to be high variance from developer to developer, from project to project, from team to team, from feature to feature. The work isn't an uniform task like brick laying.
Viking was a job description, not a matter of heredity, ancient DNA study shows
Is there an android device manufacturer that is currently supporting a 5 year old phone? I'm on the iPhone 6s, which released in 2015, and just installed iOS 14.
Android phones seem to be a 2~ year lifespan, even Google's own devices. Having switched from a Nexus 5, which got just two years of major Android updates. (Which also slowed to the point of being unusable, and eventually completely breaking with boot loops and then bricking itself)
Yep, I actually feel much safer when I'm flying down singletrack on my mountain bike than I do when I'm commuting to work. On the mountain bike I know exactly what and where the dangers are, and I have a lot of control over how much risk I take. On my commuter, no matter how I ride, some subset of drivers get pissed of at my existence, and there's another set that aren't paying enough attention to notice my existence at all. There are ways I can ride that help mitigate some of the risks, but ultimately my safety is largely in the hands of the drivers around me.

As of a few years ago I actually quit riding on the road altogether. It seemed like for every mountain bike acquaintance I had that broke their collar bone, there was a road bike acquaintance that ended up dead or paralyzed. The risks no longer seemed worth it, especially given the fact that commuting by bike had begun to feel stressful instead of a nice way of getting some exercise before and after work.
Yeah I was getting occasional "database is locked" read errors on a project that had crons writing to the SQLite file which I solved by switching on WAL mode.

It still doesn't let you have concurrent writes but it does mean that reads won't error if a write is going on at the same time.
I have one where some keys are wider, and I like it. Microsoft Wireless Comfort Desktop 5050 (PP4-00001). The only downside is not being mechanical.
> I prefer the simple and obvious pointer model. Vastly.

That's great, but then you're not writing C anymore. When you write C (or indeed, almost any language in use today) you are writing code against an abstract machine, not against real hardware.

Pointers are integers on (most) real hardware. They are indisputably not integers in the C abstract machine.

The reason for this abstract machine existing is not to enable optimizations, it's to allow the code to be portable. If there was no abstract machine, you would have to reason about the correctness of your code for each target architecture independently. With an abstract machine, you can reason that your code is correct on the abstract machine, and the compiler can do the hard work of translating that to each target architecture in a way that preserves well-defined behaviour.

Now, given that the abstract machine exists, you could ask why it is so complicated, and the answer this time is for optimizations, and also to allow the translation to the target architecture to introduce as little overhead as possible.