skysight-inc/HackerNews huggingface dataset:
Your final paragraph is reasonable, and I do think the post would benefit from more clearly talking about this.

The “trick” is to find some naturally occurring property that indicates a pair of examples has the positive label, such as two users selecting a given product, two text queries leading to clicking on the same image, two different blog posts with the same keyword, etc. This combined with an efficient way to sample acceptable negative pairs that do not express the trait that indicates positive label.

That + deciding how to approach the loss function (e.g. cosine similarity, euclidean distance, distance in a hash space, triplet loss, should it have a margin) is the whole trick of the problem.

The black box that produces embeddings (DNN, doc2vec, sparse vector from tfidf-like features, whatever) and the nearest neighbor piece are standard plug and play.
Maybe. Maybe you will see good people gravitating to companies where they can do good work in peace, without being bothered by the self virtuous.
For some reason every page load also needs to download a 8MB blob. I discovered this when I was trying to access it over a tethered connection.
Trademark holders are "required" to defend their registration, failure to do so will result in losing it.
It's a complete falsehood to claim that German politics were peaceful, liberal, and democratic prior to the rise of the Nazis. Street violence between Communists, Freikorps, Stalhelm, and Iron Front factions were constant until the rise of the Nazis.
Yes, a DELETE trigger on a table that reports successful deletion but doesn't actually delete the row referenced, leaving it still in the table, is bad design.

It's not evidence that triggers are bad, it's just bad design.

(An INSTEAD OF DELETE trigger on a view that marks a base table entry as logically deleted, causing the corresponding data to be removed from the view is, OTOH, not bad in the same way.)

> If the developer had instead put the logic into a procedure like terminate_contract(customer_id), we wouldn't have had this problem in the first place.

Or if they put it as an INSTEAD OF DELETE trigger on a current contracts view, with the design described above; conversely a badly-named store proc would have the same basic problem as the trigger at issue here. This isn't a trigger problem.
Bigger businesses have all the advantages - negotiating with towns for tax incentives; huge overseas buying power for lowering prices; paying a few locals a local (small) wage for work that would pay double in a larger town. Add to that, WalMart & co know to position themselves on the edge of town, near the major highway. So folks in town must choose to go downtown, or go to the edge of town and do all their shopping at WalMart. And folks out of town drive into town, come across WalMart first and generally just stop there and do all their shopping. Starves the downtown almost completely.
how is having an artificially weak currency a subsidy to Germany? isn't that like underpricing their goods? and wouldn't that imply that countries who import German goods are being subsidized, because they are able to get German goods at artificially low prices?

also can you suggest a place where I could read more about this? its awfully confusing, and somewhat counter-intuitive and it would be helpful to read where someone has presented this idea in a paper or article or something.
"no mention at all of the prospect of global civilizational collapse due to climate change"

thats because no one not even the most vociferous climate demagogues make this claim. not even the most pessimistic IPCC projections predict 'global civilizational collapse'

you can be concerned about global warming without buying into religious eschatology. and it turns off otherwise skeptical but possibly sympathetic allies when you do.
Praise the Maker. I've been waiting 9 years for this.
Slightly off-topic, but I never thought I'd come across the guy behind that site in a HN thread - especially since I just found it today. Baader-Meinhof, I guess.
It would be interesting to see if foundation, the thin hexagonal structure which is used to encourage the bees to build out honeycomb frames in a regular way thereby aiding extraction, could be replaced with a laser printed sheet of paper with the hexagonal structure just printed on it.

What is the minimum viable prompting bees need to build nice regular frames of honeycomb?
While it's been 20 years since Columbine, I recall that Jon Katz started a discussion on Slashdot that generated thousands of personal reports from across the country (and led him to publish the book 'Voices From the Hellmouth'. The school's state was far from unique (going back a long time before it). I wonder whether that widely-reported tragedy resulted in much change.

>"Voices from the Hellmouth is a sensitive and brutally truthful account of the pain and alienation teenagers go through when deemed "different" by their high school classmates. [0]

[0] https://www.linuxtoday.com/developer/2000042001806pr
I am building a mood tracker that I plan to transform into a quiet social network that has tracking mental health as one of the objectives.

But... I will actually link you to my competitor. They have a much more polished and stable software now, they are the biggest player in the space of mood tracking and loved by its users:
https://daylio.webflow.io/
(They have a generous free plan)
You can as well in TypeScript, it's just never been promoted or talked about much. Which is a shame. When I get a decent chunk of free time I plan to play with it, I'm curious if it's possible to write a translation layer that would allow using babel plugins in TS.

Here is an article on the TS feature: https://dev.doctorevidence.com/how-to-write-a-typescript-tra...
There's this keyword called "var"
Also see: Richmond special
Agreed with most of this comment, except:

> People think imperatively most of the time.

Most of the time people think declaratively. Heck, people dream, wish, and plan declaratively. They wouldn't even know how they got to their thoughts and dreams. They're just there instantly.
Overshoot looks obvious and terrible to me, and I often wish typographers would stop doing it.

For example, in the FedEx logo, the round parts of the lowercase "e" and "d" look misshapen and disproportionate. Is this perception unique to me, or do they look that way to anyone else?

Is the illusion that motivates overshoot real, or just a silly typographic superstition that no one has seriously questioned?
My point is that if someone is directing a powerful laser into your home, you are in imminent mortal danger, which is worse than whatever the smart speaker can do.
Random number generation has trade-offs for speed, security, and thread safety.

Most other langues with a "simple" built-in are unfit in some of these aspects, so you may end up with a footgun and still have to find a replacement.

In Rust you can choose which algorithms are used and how. And because it's a regular package, it can be improved without breaking the language.

Note that number of dependencies doesn't mean anything. Some crates are split into tiny deps for each feature, so that you can reduce binary size and compile time if you disable optional features.
I’ve run into the exact same situation and continue to repeatedly. In fact this is a stupidly common pattern in a library in working on at work right now.

My solutions have involved casts (and comments explaining the assumptions involved) instead of the ‘if’ statement more times than I’d like to have done, but it ends up with the same result with the added (however small) compute with the conditional since it can be safe to assume the value is not undefined. It’s not perfect, but it at least omits unnecessary runtime code.
Which is still very slow, as I said above. The fact that you can get a tenth of the battery charge after a full night is not fast by any measure. Consider that our driving habits have been formed around getting hundreds of Km/mi worth of range in minutes. And if a gas pump would only fill 6 liters at a time nobody in the world would say “well it’s still more than most people need”.
Given sibling comments, this seems relevant: https://www.lesswrong.com/posts/4AHXDwcGab5PhKhHT/humans-who...
Because it's interesting science. Isn't that a good enough reason? It may work out to something amazing or it may not, but thinking about it is cool either way.

Are articles about black holes pointless because in our lifetimes it's extremely unlikely that any human being will ever observe a black hole directly or do any engineering involving black holes?
Link appears to be down for me.
Mirror: https://web.archive.org/web/20191106011615/https://www.ikkar...
I always like using the example of minimalism. It really only works when a small number of people do it. If everyone did it the economy would collapse. And the coffee shops would be unusable because everyone would be in there trying to use the Wifi.
America’s Largest Health Insurer Is Giving Apartments to Homeless People
At least the average TOR users doesn't leave reviews like: "The mailman left my package in the rain, one star".

Usually a bad review is very well-deserved.
For which side?
11,000 Scientists Say Earth's Population Needs to Shrink to Beat Climate Crisis
I do hope there are some sane people still left and that you grow some balls. Google is too important, too influential for society to afford its takeover by fanatics.
It turns out that microscopic impurities within specifications can still be a problem if they're potent enough.

Same would've happened state-side if the production was still there too.
They're not required to choose a word already ubiquitous in their industry and trademark it. They're taking "defense" to a ridiculous, douchy extreme.

Also the accuracy of your claim has already been debunked fairly well elsewhere in the thread.
Self-Driving Uber in Crash Wasn’t Programmed to Spot Jaywalkers
The last part really captures how TypeScript saved me from headaches. :D
Seismic Acquires Percolate – Press Release
1ronyman said just today that he isn't going to pay RH anything. They haven't forced him to do so at all.

He went from $250,000 to $50,000 in debt and as I said, isn't going to pay anything (as far as I know).
This makes me feel #FF00FF.
1. Wealth of Nations. finished book #1, and now taking a break since it's tough to read it, but very rewarding to do it.

2. Crafting Interpreters. Would recommend this to people curious about compilers/Interpreters over the dragon book. Much much easier to read.
It's interesting to see how Hamilton's arguments against a bill of rights hinges on the idea that the government doesn't have power unless the Constitution grants power to the government.

> Why, for instance, should it be said that the liberty of the press shall not be restrained, when no power is given by which restrictions may be imposed?

The US constitution (like others) is indeed formally structured around enumerated powers. But such limitations are have been deeply unfashionable for decades -- and the great and the good have found various end-runs around it (such as the US commerce clause).

The anti-federalists were right not to trust Hamilton.
He was able to negotiate that $4M debt down to $2.125M, [A] proving once again that if you owe the bank $100 million, it's the bank's problem.

[A]: https://pando.com/2012/11/01/how-chris-sacca-turned-his-stud...
> pathological

That was precisely the parent comment's point.
`let` and `const` are transpiled by Typescript/babel to `var`.
> The following expressions are lvalue expressions: [...] a string literal, such as "Hello, world!"

That's pretty interesting. I'm not even sure how to test the effect of

"Hello, world!" = <something>

I imagine the reason this is allowed has something to do with how strings decay into pointers.

> I found it way easier to deal with ... Ruby documentation for example.

Maybe in documentation detailing the methods available, but as far as I know, there's no official spec for the syntax nor the details of the semantics of the language.
Yes! You can't improve if you keep your writings to yourself :) Let the world help you.
$60M? So basically no punishment to deter them or competitors from doing it again? What is that, like less than 50 cents/customer?
Buy slaves on the App Store
The Czech Republic isn't in the Eurozone and doesn't face the structural disadvantages that Greece or Portugal do.
"This hive can be armed with the wood that everyone has on hand, such as pallet wood, or pallets, as they are called"

Be very careful should you choose to do this. Some pallets are chemically treated to kill invasive species like pine beetles. This treatment could be toxic to both the bees directly and to you indirectly via the honey.

https://www.1001pallets.com/pallet-safety/
When I went on vacation to Europe, that was one of the most noticeable differences from the United States. In Prague in particular, people were aggressively selling drugs.

And I look like a complete Square.
Lessons Learned from Writing Every Day for a Year
Crev – language and ecosystem agnostic, distributed code review system
What? I’ve kept bees for years, and this is ridiculous. If you want to make a diy hive that mimics bees natural nests, check out top bar hives. Don’t build them using pallets, which are often treated with insecticides to avoid spreading pests via shipping routes. Only opening your hives to harvest is irresponsible, because in order to care for your bees and avoid spreading diseases to neighboring hives you need to be monitoring for things like varroa mites. This whole article is full of “yikes.”

If you’re interested in keeping bees, search for a local bee guild. They exist all over the place and are usually very welcoming to new folks, with a wealth of actually useful advice and resources.
> At one point they were buying used 747s, flying them full of coke to the US, and then just ditchiing the plane because they made way more than the cost of the plane.

I think that was happening in Africa with smaller jets. Which... is not that far from Brazil. Then smuggle over-land across Africa and mix in with N. African exports/shadow boats.
UK should be now getting 350 million GBP per week for NHS.
Who’s Using Amazon Forecast?
Yeah-yeah, and "Lomonosov Ridge" is a weird name for a peak in China (and you might even happen to know the Lomonosov Ridge is underwater). Please don't be distracted by details. Maybe the author meant 24 h per peak, maybe his typing is really spurious. Is it really obvious to somebody who doesn't know anything about climbing that this is not true? Come on.

What's really fascinating is how truth is mixed up with made up stuff. It's incredible, how much much real-world knowledge it has.

- Jain Kim is likely a female name.

- Jain Kim is likely a Korean.

- K2 is in China and it is the second highest mountain in the world.

- Mountaineering is somehow associated with climbing (and Jain Kim is not known for mountaineering, btw).

- 8,000 meters is 24,064 ft and this is a formidable height.

- climbing something in 24 h is a common pattern for a type of achievement.

And more.

No, I'm completely sure it would throw off plenty of people.
Can't they use the Essential_Air_Service and then fly back home to needleville SFO? (j/k)
6mi in the context of places where a town population is in the hundreds really isn't much at all. No wonder people were buying just enough to get to the cheap station. I drive 2mi to get gas and that's in a city.
But smallsat launchers only make sense if they have a lower cost/kg (unlikely vs the F9) or if they're being used for an orbit/launch time that doesn't have enough demand for a rideshare. And if the space launch market gets big enough to support 100 smallsat launchers, a F9 rideshare into that special orbit will probably have enough takers to make it cheaper than the smallsat launcher would have.
In most Australian states, refusing the breath test without a valid doctor's certificate or attempting to avoid the test area and getting pulled over on a side street will result in far higher penalties - including jail time. The fine can be up to $4000 to $6000 - far higher than if you were just DUI.
> vernacular architecture has also played a prominent role in Swiss defense. Across the countryside, many structures that look like quaint barns or traditional homes were designed to house everything from bunkers to anti-aircraft guns

I'll now have to look suspiciously at every Swiss building I come across.
Bees don’t need prompting to build regular hexagons, they do that on their own. Pre-drawn frames are useful for getting them to build flat combs, that can be removed and replaced in the hive without damage.
Glyphosate in Organic Hydroponic Food Production
Dear FP evangelists -
Here’s how to sell the unwashed masses on FP:

1. Shut up about monads. “Monads” sound like a bad D&D monster. No one cares about either of those things

2. Benefits sell, not mechanisms. Show me the benefits in a way that solves my problem without warping my brain around in the process, and I’ll buy it.

3. Every new paradigm has a ‘gap’ that must be overcome, a proverbial “click” of a new brain-circuit forming, before understanding/enlightenment is possible. This process is accelerated by direct experience, but slowed glacially by overly formal abstract presentations

4. Stop trying to show me how hip/smart/woke/l33t you are by spouting FPisms; that impresses no one, bores most, and makes you look like a poseur. Benefits, McCoy.

5. I love Scala, but it’s an acquired taste that didn’t happen overnight, and it started as a non-threatening “better Java” path that led to self discovery through refactoring. Please Give us space to breathe and languages that don’t cause Calculus 101 PTSD flashbacks.
Sounds like you could use a bit of help. I've had a lot of similar issues as those you mentioned. My advice is: read a lot of books on how to deal with narcissism, and psychopathy. `in sheeps clothing` is one I liked. `beating the work place bully` is another. There might be tons of better sources, but those are the ones I read. Part of the issue is some people will take everything from you if left unchecked, and you can do very little to make them realize they're harming you (think Trump). And even if they realize it, it only stops them that one time. So aggress-ing these people is something that needs to be done often. You have to judge-judy their ass at least a few times every time you have a conversation with them.

Also read about wait vs interrupt culture [https://www.lesswrong.com/posts/LuXb6CZG4x7pDRBP8/wait-vs-in...]. Generally women are spoken over by men at work. And of the men its the loudest and largest egos that get their voices heard regardless of quality or veracity of words. Most statements are just opinions, and because the dunning-kruger effect grants these people with confidence, they will just speak whatever opinion they have as facts.

You should also really try and meet people you can connect with outside of work, I find having people around helps as a mental shield to all the toxic people in your life. Because work can be competitive, people have tendencies to play the asshole card there far more often than in other aspects of life. It helps with sanity to have a better balance of people. Try meetups/clubs (for coders? for girl coders?, I'm in a book club and I like it), or classes (yoga? dance? martial arts?), or try volunteering (a place where you might find more people with empathy). Or do all of those combined.
What is the distribution of the time scale of these orbits though? If 90% of these things take a couple months (or weeks or days or whatever) to decay and burn up it seems like a non-issue - or one that can be planned around. If the fat tail sits further out in time that seems like it could actually become an issue.
I don't see why not. When I trick it into calling `body` on an EmptyView, I get this runtime failure:

> Thread 1: Fatal error: body() should not be called on EmptyView.

So I don't think the implementation is doing anything beyond the fatalError() call from that forum thread. At least not at this point in time.
I agree, what you said has literally happened in my Place, Punjab India. Government gets a good chunk of money from 5ax on Alcohol, but at same time the religious beliefs prevent drinking. Politicians promise to curb alcohal sale, come to power, & do nothing because state depends on that tax. Funny reasons of tax like Education Cess on each bottle have been levied to justify alcohal sale.
you don't say!
That’s an incredible read!
That is at best a convention. You can multiply the Lagrangian by -1, without changing the equations of motion or the resulting trajectories. So physically nothing changes, but maxima and minima swap.
Maybe form a local consumer's coop: Say, once a week, say, Saturday, refrigerated truck makes the run to one or a few good local grocery stores. The truck takes with it specific orders. Or for some grocery stores, they have Web sites where can order items ready for pickup.

Actually, have the truck start in the city, get the grocery lists or pick-up orders via e-mail, get the groceries, drive to the small town, off load everything, and return empty.

For the off-load, maybe the small town has an old building with some refrigeration that can store fresh/frozen foods for, say, 24 hours.

For the truck, maybe just find someone in the town just to DO this service -- they rent a truck for, say, six hours, pickup the groceries, drive the two hours, and then return.

If once a week has the trucking cost be too high compared with the grocery costs, then make the deal each two weeks: Most fresh foods will keep a week, maybe two. Frozen foods can keep months.

Good way for everyone in the town to meet!
Can you hoist the `if (result)` into the `try` part of the statement? (Without seeing more context hard to know why that wouldn't work for you).

Another pattern to avoid the above is to remember that async functions return promises and that .catch() also returns a promise. So your above logic can be written as:

const result = await funcThatReturnSomeType().catch(doSomethingWithErr);
if (result) {
doSomething(result);
}
> start busting dealers and suppliers for tax evasion

Or you know, just end criminalization and be done, because those laws should never have been created in the first place. Setting up heavyweight tax enforcement regime would allow the continuation of the same structured thuggery that exists today, just with new job titles and new law references to memorize.

The biggest moral hazard is from companies ramping up and becoming pushers at-scale. The more regulations there are to comply with, the more the market will centralize towards that.
It seems to me that it was designed with children in mind. Get them to memorize the first 10 letters of the alphabet (one for each finger) with drills. After that, it's easy to repeat the pattern for the next 10, and the last 6 are a breeze. I expect it would work equally well for alphabets with different numbers of characters.
What does criminal law have to do with "freedom of contract"? This is why "libertarian" has become a dirty word for a lot of people who used to be sympathetic.

You can be sent to prison for 15 years for trade secret infringement. It is criminal under both federal and most states' laws.

https://www.nolo.com/legal-encyclopedia/trade-secret-basics-...
> Can anybody who is not into climbing even tell this is all fake?

Yeah, there are zero 8,000 meter peaks in the Swiss Alps. The Mont Blanc is the tallest at 4,808 meters (https://en.wikipedia.org/wiki/List_of_mountains_of_the_Alps_...).

I'm not a climber :)