skysight-inc/HackerNews huggingface dataset:
>I will happily bookmark this and that, but it's unlikely I'll ever actually go back to the bookmark.

That might be a problem with your process, not with your tools.

>I wish a non-Google search engine would offer a bookmark manager that integrates into its everyday search, giving preferential treatment to previously-bookmarked material.

Most browsers already do that with local bookmarks, to a degree. (they don't search the article contents, only the bookmark tags and titles).
Inflationary Constant Factors (and Why Python Is Faster Than C++)
> For what it’s worth, none of my friends put infants in daycare due to the cost. They either got foreign au pairs or hired someone under the table for cash (very common in immigrant communities)

I'm hoping your friends are libertarians who disagree with the current political zeitgeist in Massachusetts.

It would be very depressing to hear that your friends are Liberals who publicly support these daycare laws and then privately flaunt them by 1) favoring non-American workers and 2) paying them in cash to avoid taxes
The free rider problem is usually the reason We Can't Have Nice Things at the state level.
My antagonism is not needless - in fact it serves my purpose. I want to see family values annihilated.
And also trivially stage parts of hunks, not just entire hunks. It is great!
Yes, but you can't build it into your model. In this example, you would end up with a result of putting people back into these communities who have a high level of recidivism. You are actively not avoiding an actual issue because of perceived racial injustice when the issue is not racial.

This is the problem with processing our world down racial lines. You're trying to correct for a historical injustice. The fact that race factors into the circumstance of why people are where they are right now doesn't change the fact that those variables lead to recidivism. It's not racist. It's accurate.

If you want to fix the problem, then you need to fix the underlying issues, which tend to be economic. Those economic issues stem from an issue that affects all races, and therefore splitting it across racial lines only serves to reduce the possibility of actual change.

All you're doing when you try to account for historical injustice is slapping a band-aid on a deeper issue.

(Edit: Grammar)
Thanks for the information! Qt is fine. I might switch back to Linux in the future, and want to be able to carry over anything I write if I do. I have a working prototype in Python using PySide already (which handles the system tray well), but I figure I ought to know a compiled language with static typing. (I know interpreted vs. compiled is a questionable distinction to make these days; what I want is a language that comes with something to produce independent executable files as part of its basic tooling.

I've tried Haskell Platform. I had a lot of path problems in trying to install gtk2hs - it wasn't always obvious where things were (nor that Stack came with its own mingw, so I got my own, and that caused more problems... eventually I wiped everything Haskell-related and started from scratch with Platform), and there's also a known problem with gtk2hs where you have to edit some cabal files to make installation work on Windows, so I would've had to do local installs. I think I got gtk2hs to install at one point, and even to compile their sample hello-world program, but trying to actually run it gave a litany of obscure errors. WxHaskell has an installer batch file, but it just spewed errors at me. I spent about a week trying to install various GUI libraries, and the only one I tried that I managed to get working was gi-gtk... which doesn't have system tray support.

I'm hoping to avoid C++ and Java, but if I have to bite that bullet, I will.
It might not be that unlikely... For example, it's possible they don't have the advertising invoices to back up the claim that that's where the money went.

It is, however, very unlikely that anyone ever gets their money back.
No, I absolutely don't think so.

If you're used to thinking imperatively SQL's declarative approach might seem unfamiliar and somewhat less robust (because you don't explicitly tell the machine what to do but to some extent rely on it doing the right thing), even though it's not.

I'd even say that for anything else but trivial queries using an ORM framework tends to be more error-prone than using plain SQL precisely because of the well-known impedance mismatch between the two.

With ORM frameworks more complex queries often can't be expressed as concisely as with SQL, which leads to more code and clumsy work-arounds. More code, in turn means more potential for errors.
To me, scanning wireless networks is primarily a desktop task, and some desktop software is CLI or TUI and doesn't need a GUI.
Sure, but nobody has given an example that would be considered fraud. "They spent too much on marketing and not enough fulfilling orders" isn't in itself fraud, just a badly run business that is now bankrupt as a direct result.

If the bar for fraud was set that low, I bet half of failed startups would be considered "fraudulent." More than half if you look at restaurants.

> Fraud is generally defined in the law as an intentional misrepresentation of material existing fact made by one person to another with knowledge of its falsity and for the purpose of inducing the other person to act, and upon which the other person relies with resulting injury or damage.

Unless you have some damning email or other disclosure you'd never be able to prove that they knowingly sold scooters they never intended to fulfil, therefore fraud is out. In fact all the evidence seems to indicate the opposite, that their long term goal was to make this a successful business and grow until the money ran out.
Not OP, but I'm guessing it's because linked lists are recursive and hashtables are not, so in a functional programming language you can do lots of clever things in a recursive way.
Seems kind of negligent not to mention Saul Bass' WB worms logo (the one that looks like \\') used for a decade by Warner Bros and still trotted out for movies set in the '70s & '80s like Joker.
Yes. We’ve been using it in production for 2 years. Never experienced a bug, and never had to restart the server (thanks Haskell!).

My advice is to never expose the core tables if possible, and only expose views. This way you can change the schema and version your API easily. For example, if you only expose views then renaming a column is as simple as creating (or replacing) a new view rather than a migration.

Another thing we learned is to not tie events (pg_notify) to business logic (no “send customer this email” event for example), but instead have a set of standard events on creation, update, and delete that you fire for all tables, and then run various business logic tasks in response to those. That way you never have to change events or implement new ones.

Read the PostgREST guide, and follow their advice. Good luck!
Sounds like an opinion claim.

There are plenty of studies of the effects of amphetamines on sleep-deprived individuals (it does help with alertness and mental acuity, provided the deprivation is not severe, and even then only in the short term).

Can you link articles proving your claims about amphetamines clearing up reduced mental performance specifically due to bad diet or lack of exercise?
there (allegedly) isn't any $ left to gain for a class of plaintiffs from the defendant, so a class action lawsuit is pointless
actually quite affordable considering it's merino. not comparable to regular cotton shirts.
Yes, it was Marilyn. She's in two episodes recorded two years apart. The one I listened to was the second one[0].

[0] https://feelinggood.com/2019/09/23/159-live-therapy-with-mar...
I find it interesting that the CEO - Nick Evans co-founded successful (?) start up Tile. https://www.linkedin.com/in/thenickevans

From tile to scooters to blowing money on FB ads - seems like a bizarre path for an experienced (?) developer.
You are right. It is typically more effective to write one implementation as a hacky prototype, play with it a bit, throw it away, and then rewrite a production implementation from scratch, so that the mistakes of a design made by someone inexperienced don’t get baked in forever.

Unfortunately there are cultural/psychological factors which often preclude or discourage this method, even if it would save time and produce better code in the medium term than either exhaustive planning up front uninformed by practice OR just iterating the initial broken version to continually meet new requirements.
Why would group Signal messages (a drop-in replacement for group texts) be compared to Slack?
(not a legal expert, no guarantees ;))

There are different forms of companies in Germany (GbR, UG, GmbH,...) some of which require personal liability and some which don't (to some degree).
E.g. a GmbH is a limited-liability (at least 25k €). BUT the CEO has to act with diligence. Otherwise (e.g. acting with negligence) they are liable with all of their personal assets. In my non-expert eyes, the CEO of this company would be liable even under the shield of a GmbH.
We made a similar app called geoip - https://git.cloudron.io/cloudron/geoip . It also uses maxmind's db. Supports json and jsonp as well. You can try it at https://geolocation.cloudron.io/json . Please don't use this as a 'service', install your own :)

BTW, do you use geolite or geolite2 db? The former is getting deprecated next month.
Indeed, how many Kickstarter projects will it take to convince people preordering on an unsure thing is a gamble and basically an investment in an idea that interests you.

Tons of billion dollar projects, let alone those with only a few million, have been delayed for years, changed half way through, or have died before finishing.

The failure rates for new businesses is pretty high, 50% in the first year.

One could question if its moral to take early preorders without some form of insurance but at the same time a ton of good things have come about using this process and proper communication by the company/purchasing platform can mitigate most of these issues.

Plus it’s pretty rare for people to being giving hundreds of dollars, let alone almost $1000, to an unproven product so it’s probably best not to judge based on the extremes.

Obviously if shady stuff is going on and there’s some evidence the company didn’t meaningfully try to accomplish the goals for which it raised money and misused company funds for personal benefit then there’s a serious problem. There's plenty of laws in place for that already.
> If your users aren’t mostly in the cloud with you, than this strategy doesn’t help at all.

Sure, but in the situation in the linked tweet 100% of the users where in the same cloud, just in the wrong region. For julia, the distribution is much more mixed, which is why we have the fastly fallback, which works as a traditional CDN. Still caching locally in each of the clouds is useful as people often download a fresh tarball of nightly julia when they CI their packages, so the load from the clouds is quite high.
Multithreading vs. Multiprocessing in Python
It's especially crazy that a bunch of them look to be rendering legit polygon scenes— this isn't early nineties 2.5D titles like Doom and Wolf3d running on 486 PCs.
Ask HN: Opportunities and Challenges for the Newcomers in Technology
ASK HN: What are the opportunities and challenges for the newcomers in technology
I have a lot of college graduates asking advice for tech openings available, so they prepare themselves for a future job scenario, I'm afraid to recommend any one path, but I suggest them to try freelance opportunities in what they know already and learn from that experience. What are your recommendations?
Those photos look like a promising direction for GAN researchers to explore. No need to hire any models or photogs. Just order your parameterized virtual hipsters from the Cloud, like angels on demand.
Hard to say. One way is that they say got 100K in sales on 10K in ads. Then they said, hm, lets take 50K from sales and put it into more ads so we can get 500K in sales and the remaining 40K went to tooling/production. When that 50K ad buy didn't really pan out, now they have 40K towards fulfilment which probably doesn't meet their suppliers MOQ if it even covered the NRE (non recurring engineering) and tooling. Its more or less the same problem that all companies encounter when they do preorders/crowdfunding/etc.

There is a solution of course - you need to raise enough money (or commit, in the case of Tile founder who should have had enough personal capital to make this work) to never be in a financial position that you couldn't simply return all your customers money in the event that the product or business didn't make sense. As long as you can gaurentee that you hold onto enough money for the returns, you are operating responsibly. If you take 100% of the money you get from sales and commit it, you cant take back ad spend or tooling/engineering spend. Is it fraudulent - I'm not sure. Is it irresponsible - most definitely.
We use a combination of heuristics and integrations with the most popular websites. In most cases we'll suggest relevant tags. Give it a go and let us know if it works well for you. We're still tuning it.
Show HN: Transformer Poetry – classic poetry rewritten by GPT2
This is a fascinating example of how languages tend to grow up alongside assumed applications for them and, as a result, can have assumptions deeply baked in that challenge using the language in novel applications and environments.

Solving this without pushing too much complexity onto the developer (1) is going to be a fascinating challenge.

(1) What does "too much complexity" look like? The C++ standard library has template arguments for the memory allocation logic. When it's needed, it's very much needed; when it isn't, the existence of that argument was long a tax on comprehending compile-time template errors until tooling caught up with being able to intelligently hide those arguments when they're likely to be noise.
Not really. The n is huge, there is an enormous difference between an exponential complexity like O(2^n). Many algorithms are O(N^2) and are perfect for their use case.

To see the difference.

- 100^2 -> 10^4, 2^100 -> 10^10
- 1000^2 -> 10^6, 2^1000 -> 10^100

Look at the difference in order of growth. Just to give a very simplified comparison, your individual processor core can run about 10^9 simple instructions in a second.
> It's a "nit pick" for sure, but in my understanding, something that "pays for itself" is not dependent on government subsidies. Quebec has some of the highest income taxes in the country - you pay for such services one way or another.

The subsidies that are required are offset by the increased labour force participation that occurs as a direct result of said subsidies. Conversely, if the subsidies disappeared, then there's a good chance that many of those currently employed parents would have to make a choice – do I remain in the workforce and pay $1-2k/month for childcare, or do I quit my job and raise my child/children?

I've had relatives that live in Ontario that had to make this choice. Daycare in Toronto is $1600/month, and can be around $2500/month if you have two children. If one of the parents is pulling in $50,000/year (net pay of $38,979), and you have to drop close to $30,000 for childcare, for 2-4 years, is it even worth staying at your job?
It seems like she's just maxing out the width at what's commonly considered the most readable line length (~80 characters). Not sure what the problem is with that.
Men these days... having kids is too much work, let someone else take care of them.
I guess it might be really effective for those who know emacs.

For the rest of us we can select lines in vscode, and then either:

- right click,

- ctrl+shift+p <type stage, stage selected lines>
> If you gave $700 to a company who promised to deliver you a scooter a few years down the line if all of the dominoes fell exactly as planned... I would argue that you got what you paid for even if it amounts to nothing tangible in the long run.

Is that what happened with this company? That's the model of kickstarters and the like, but this story sounds like it was a real company offering a product for sale. If a company can form, offer a product, sell 350 units, pay employees & expenses, then fold without delivering product or refund, nor facing any legal repercussions, what's to stop the same employees and founders from following that method ad infinitum? Form company #2, offer a different vapor, take in money from sales of the never-to-be product, spend it on salaries, declare that the product won't be delivered nor refunds given, and move on to company #3. If that's what this company has done, and the court systems are never burdened with tackling such an issue, it is a viable if entirely unethical model for the people involved.
Ask HN: Best Practices for Applications Being Used in China?
Hey HN,

Just wanted to get some quick takes on anyone who has architected/deployed applications on AWS or really any public cloud in general that were for consumption BEHIND the great firewall.

A client of ours have a homegrown application that is used internally for which is now hosted in a datacenter stateside. It consists of a C#/.net application, js, some ancillary services and uses MS SQL for the backend. It has some solid engineering behind it and runs pretty quickly for users in US/EU (again all hosted out of a US datacenter) .

Over the last couple of years the company has been expanding with a couple of facilities in China but those users always have a miserable time with it, as well as any employees that travel there. Also the great firewall has blocked the IP 3 separate times in the last 2 years which required infrastructure changes on the datacenter end in order to change the IP address of web frontend.

The ongoing growth there along with the the engineering lead for that application letting them know last week that hes planning on leaving at the end of December has kind of kick started the conversation about maybe moving this thing into the cloud and trying to solve the China issue.

Has anyone ever built out anything that served users both outside of and inside of China and how did you handle the great firewall?
Interesting, but I think the notion of a byte in C is different. But I'm not able to look it up at the moment.
Ugh Donna Tartt's books are such horrible juxtapositions of beautiful writing and terrible plots. If she crafted worse sentences I could just skip her awful books but the way she writes leaves me in the position of feeling compelled to read them and then hating how dumb the plots are.
2019.49 Almost Starring – Weekly Rakudo News
I just don't understand people that shell out 700 for a non-existing product. What's the rush? What would they be possibly missing out?

it is one thing to jumpstart a novel product for $25 but a scooter ... really?
EU's Vestager says Google's antitrust proposal not helping shopping rivals
> That is simply a failure of leadership.

No argument there. You know not everyone gets to work under a 10x leader. Probably the median leader in any sector is -x, because the skillset required to raise money is not necessarily the skillset required to lead.

> The triangle has three sides: fast, quality, and cheap

I think that should not be a universal rule. You can leverage open-source solutions to cheat more than one of those sides, with a little bit of expertise, or by stumbling on the right framework by accident.
There’s large differences between bad luck, failed plans, mismanagement, and fraud. It’s optimistic to assume the best of the person who raised funds.
If you're interested in a service with a free tier and more specific granularity than the MaxMind free database, Geocodio has a pretty nice service. They also have a bunch of different enrichment options that you can tack on if you need things like congressional districts or school districts. It's a really nice service.

https://www.geocod.io/

(not affiliated, just a fan)
N-gate theory offers the best hope of cutting through conflicting theories to get at the fundamentals.
Pete Frates, one of the men who popularized the Ice Bucket Challenge, has died
> Oddly enough, that patent apparently expired today?

Not anymore, maybe they are reading HN as well :-)

2023-09-15 - Adjusted expiration
> 2019-12-09 - Application status is Expired - Fee Related
2005-09-20 - Publication of US6947978B2
2005-09-20 - Application granted
2002-07-04 - Publication of US20020087666A1
2000-12-29 - Assigned to GOVERNMENT OF THE UNITED STATES, AS REPRESENTED BY DIR. NAT. SECURITY AGENCY, THE NSA GENERAL COUNSEL (IP&T)
2000-12-29 - Priority to US09/752,898
2000-12-29 - Application filed by National Security Agency
You think his parents, his dad specifically don't look down at him? You think people, some people, don't laugh behind his back? And final, really important point: Do you think his wife finds it sexy that she supports her stay-at-home hubby? You alone don't define it. His parents, his mom-in-law, his kids (nice male model for his boy if he has one, btw, pathetic), neighbors -- this is where the pressure builds. The looks. The remarks. Him asking money her for a nice car he always wanted. Him asking her for vacation as he's tired after months with kids. I mean, you might find it OK, but somehow most people won't. I feel bad for him. For you too, as your only argument is pretending you don't get it. What, you're a five year old now, not knowing how adult partnerships work?
I've spent the last couple of months redoing one of my Arduino projects in MicroPython and CircuitPython and I'm pretty happy with the results. I think the *Python version will be much easier for people to use then the Arduino version was and that will make up for the shorter battery life.
Broken ankles are another common low speed injury for new riders.
I've actually had a lot of success going the other way. A database query with a join takes down production, so do a client side join, query one: get a bunch of ids from table A, query two: get a bunch of rows from table B, often as get one row from table B UNION get next row from table B etc.

You can try using IN on the second query, but usually if that was going to work in a reasonable amount of time, your join would have also worked in a reasonable amount of time.

The real problem people run into with the client side join is making it query one get a bunch of ids from table A, query two through N, get one row from B, with each query requiring a round trip. Even a pretty small client to server roundtrip of 1 ms gets nasty quick with repeated queries.
A-Z of climate anxiety: how to avoid meltdown
Speaking of O(n^2) algorithms (if it's OK for me to promote my own writing on this recently?):

I recently illustrated how they can even occur as a result of algorithms being slow by a constant factor.

I thought it might be useful for others, so I posted it here: https://news.ycombinator.com/item?id=21745911
Facebook ads are way too expensive and tend to not convert that well. There are stories of fake likes and fake clicks. If your growth strategy involves buying click ads, find another strategy or business idea. Groupon is another company that overpaid on Facebook ads to build its email list. Disney and other multinationals are the only companies that should buying such ad.
Man Fights Terrorism Narwal Tusk
I know this as "Whatever happens we have got the Maxim gun and they have not."
Interesting, I hear people spelling out constants all the time when using the O notation to put emphasis where they want. I guess that's not really as universal as I thought, but I still think it's a good way to express.
Do you have any examples of high-profile images that do this?

I really just haven't seen this with the ones I use.
>what's to stop the same employees and founders from following that method ad infinitum?

Informed consumers
The supreme court had a different take on it.

You should check out the disparate impact rule. If your involved in housing.

https://www.hud.gov/press/press_releases_media_advisories/HU...