jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> Is there not a way to synthesize gold, like how diamonds can be synthesized (obviously a different process.)

To convert other forms of carbon into diamond, you just need to simulate the conditions in which diamonds are formed (heat and pressure inside the earth.)

To convert other elements to gold, you just have to simulate the conditions in which gold is formed, which, as a heavy element, I'm pretty sure is reproducing a nuclear process that occurs in large stars or possibly supernovae, i.e., something you can reproduce only on Earth only on a very small scale using particle accelerators (or maybe nuclear weapons.)
lol, I wrote a little Javascript thingy to do that for me, but I'll try this for sure. I hate that they don't keep the course materials open indefinitely... and I don't get it either.
While I agree with the idea that there needs to be some type of security screening for aircraft, I don't think it necessarily follows that we should tell people to either accept episodes like this one or take alternate transportation.

With AQAP's bomb-making experts (who can make bombs with no metal parts whatsoever now) I can see why they need to make super-duper sure that a hit for explosive material is absolutely a false positive.

But that doesn't explain the rude treatment, the confiscation of gear, the refusal to provide water, or having 5 different government agencies (and JetBlue) all gang up on him.

There has to be a more "public serving" way to handle the necessary task of public safety.
Please don't post snarky dismissals to HN. It's not what this site is for and degrades the culture considerably. Since entropy already does more than enough of that, we need to spend energy going the other way. If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the spirit of the site more to heart, we'd be grateful.

You can make your substantive points thoughtfully. As far as that goes, though, this comment doesn't say anything that the parent didn't already say.
That is the weirdest logo I have seen in a while.
I looked through the code quickly, and it seems to rely on ActiveRecord for the History model.

However it probably wouldn't be too difficult to make an ORM-independent version of this, if that's the only place ActiveRecord is used. An admin tool really only needs to use the models that you have created elsewhere in your project. So they could make the history part of this configurable and allow you to supply your own model to handle those functions. It would be like how most authentication modules let you write your own User model, as long as you put a 'magic include' in that model to pull in the authentication stuff.
Yes. The government argues that terrorism is a unique threat that requires extreme measures, such as removing rights from citizens. But the counter-argument is that it IS a unique threat: one that can never be conclusively dealt with. There will never be a time when we can say "we have won; we are safe from terrorists." Therefore, any rights we surrender in this "war" will be gone forever.

In other words, the ubiquitous, eternal possibility of terrorism is the strongest argument for why we should NOT allow "extreme measures" that involve citizens losing their rights, because that loss will be permanent.
It seems like you're looking for ethical criticism of Mind the Gap, not economic criticism. I thought it was clear that the prices were just how much Romans were willing to pay for the services of people of varying levels of ability, and that the detail of who was receiving payment was not really part of the argument, although it apparently distracted from the argument itself in this case.
Not really, other than it's a port of MerbAdmin, which actually uses the Django stylesheets and Javascript (to the point where it violates the license, by failing to reproduce the text of the BSD license).
Yes. And without the popcorn, that money to keep the theatre owner afloat would have to come from somewhere else, e.g. the ticket price.
Again, you should read more on this issue before you criticize the idea in absolute terms. Yes, verification is necessary, which is why I wrote a browser addon that can do hash-based verification of the application every time the page is loaded (described here: http://corte.si/posts/security/crypsr.html, with links to the github project), and which is why cryp.sr has application hashes published with every modification. Yes if you send your traffic unsecured over the wire, it's trivial to modify it. Which is why cryp.sr, and any other good host-proof app, uses SSL, which is designed to counter exactly that type of threat.

The techniques are still clunky - but that's because it's very early days, and we're still developing the tools and techniques to make things seamless. The basic idea, however, is entirely sound, and increasingly important.
No, actually they include Greenpeace in the category "criminals and terrorist organizations", which is more accurate, since Greenpeace has been known to commit crimes.
Let me try to break it down:

(max - min) is int
((long) key - min) is long
long / int is long since a long is involved.
(size - 1) is int
int * long is long

I think the purpose if the long cast is that the last multiplication produces a long and it doesn't overflow. But then it is casted to an int anyway defeating the purpose.
Could you list some reasons why you wouldn't want to write a machine learning algorithm in Javascript, or a write storage engine nor a ...? Lack of libraries? Too high level? Or do you not like the syntax/semantics/...?
That's what they tried with the containment dome (a big box with a pipe up to the surface where oil would be collected in tankers. Turns out that at those depths gas from the well makes methane hydrate crystals and it blocked up the pipe and no oil was collected. Back to the drawing board...

Flash forward a few crazy ideas (namely tossing a bunch of trash into the BOP to try and clog it) and they went back to a similar method called the LMRP. This time they sawed off the riser from the BOP so that the opening was flush and designed a containment cap that fit better around it than before (less of a chance for water to mix in and make the hydrate crystals) and developed a system that continually pumps hot sea water and methanol down the pipe to also help tap down on the hydrates. This method is actually gathering oil, but since they sawed off the riser a lot more oil started leaking so the net result is even more oil is getting into the ocean. BP hasn't "sealed" the LMRP for fear that it will blow out the BOP, which is pretty much what the Mother Jones piece is about.

tl;dr they have and it's not that easy.
I like it. I'll take two.
In which case they cease to be quicksort, and are instead called "introsort": http://en.wikipedia.org/wiki/Introsort
Scott Aaronson's response: http://www.scottaaronson.com/blog/?p=2119
> it would therefore be really nice to have a constructor syntax that does this implicitly.

Agreed. I'm on the Dart team at work, and in Dart you'd do:

class Customer {
int customerNumber;
String name;
String address;

Customer(this.customerNumber, this.name, this.address);
}

You do still have to declare them. I've thought about adding something similar to Wren. Since fields are already syntactically distinguished, it could be as simple as:

class Customer {
new(_customerNumber, _name, _address) {}
}

I've hesitated because I want to see how much this is really needed in real-world code. I'm trying to keep things as simple as possible at least as first.

> There's another bit of Scala sugar that is nice here - an automatic copy method which takes keyword arguments to override particular fields.

I'm not opposed to the idea, but it probably doesn't carry its weight. Wren is incredibly minimal. I like immutability a lot, but for scripting language where program size is relatively small anyway, I don't think it's quite as high a priority.
I think you might be missing how a traditional company works.

Nobody sets an arbitrary percentage of anything and forces dividends.

When the companies directors think that there is enough spare money in the bank account, generated from profits, they distribute those profits to the people who own the company.

The founders and investors of the company get the actual profits that the company generates. A strange concept I know!
I'm surprised to see on that list some sequels to flops, Pacific Rim being the perfect example. Why would anyone go watch Pacific Rim 2, or London Has Fallen (which I assume is a sequel to Olympus Has Fallen)?
Nobody will give you a business loan against a startup company without a stable existing revenue stream unless you provide a personal guarantee with collateral that you personally own.

The difference between a loan and investment is that if your business fails you don't lose your house.
It's not designed to be a knife fighter. Stealth is supposed to give it a big BVR advantage.

I used to think that was a big mistake, but lately I'm coming around to the idea that the oft-wrongly-heralded end of the dogfight is pretty much upon us. As missiles get smarter and (more importantly) integrate more sensors they get much harder to dodge.

It's one thing to slip a single frequency semi-active radar homing missile or a four quadrant heat seeker in 1980. It's something quite different to shake a missile with IR, visual, and active EM sensors with the computing horsepower to integrate them all into a single predictive model. I was involved in IR missile development twenty years ago, and the consensus from the test pilots even then was the higher resolution sensors and extra smarts made modern (mid '90s) missiles almost impossible to shake once they locked on. That was just IR, too.

From what I can tell going forward the last guy to get detected wins.
> most people who can write fast C extensions have left the scene

Care to elaborate?
I absolutely agree regarding DDIA. I recommend it to all of my junior engineers.

There are not nearly enough high quality resources on system design.
I wasn't so much disagreeing with the number, as much as it being the tag line.

Excluding ansible/chef recipe to manage the machine, I could deploy Redis and have no lines of code to maintain.
Thank you for saying that. I enjoy helping people understand things in minutes, especially if those things took me years.

Being stuck at home the only way to keep doing that is writing and videos. And I have a pretty bad stammer so videos aren’t an option.
I would say an excel spreadsheet :)

The way a PE file is defined is interesting. They managed to cram a completely different file format into the DOS 'MZ' format. Including the NE and LE formats. I think the NE one had a bunch of sub targets (OS/2, win32s, etc).

https://wiki.osdev.org/PE
https://wiki.osdev.org/NE

It is quite the nesting doll of executable formats. If I remember correctly PE also holds .NET in some way as another sub format.
That clunkiness is windows’ trademark. Why would they polish the os like apple?
>How do we know it's a feature vs a temporarily convenient oversight?

Considering the level of GUI work that outright supports this feature in recovery mode on an M1, I'm inclined to think it's not an oversight.
Pinterest has had many tlds for years to beat this trick.
Looking to create my own dent in the awareness of this with https://space-search.io
They do.

But this is the result of a complex intersection of factors, particularly contemporary journalistic practice. It doesn't just come down to their existence or size. The fact that journalists in the media that still gets the most "views" consider these platforms to be a way of "taking the temperature" of the country has at least as much to do with the way they "drive the national conversation" as anything else.

Look, I'm 100% fine with actually taking over these platforms, making them public spaces, removing all "censorship" of any kind (it would be actual censorship now, since it would done by the government), and watching them all deteriorate into an even greater stinking mess than they are already.

But I'm not fine with telling privately owned platforms what they can and cannot do, or with conflating their attempts to regulate what happens on their platforms with censorship (even in double quotes), or pretending that it matters all that much.

Meanwhile, I can still read Stratechery.
Thank you very much for this very thorough answer! You've definitely helped me look in the right direction.
That's so incredibly true! But, I'd rather have the passing lane appear periodically than not.

One of my favorite roads in Washington State is Highway 2. On this road, we have the periodic passing lane, at least when we're going Eastbound, we do. Westbound has fewer of those passing lanes; though, I think the lane in the Eastbound side is dashed, so you can actually pass using it if there's not much traffic going Eastbound. Nevertheless, when stuck behind someone who is clearly not following the "more than 5 people behind you: pull over" rule, I long desperately for the passing lane to come, as it appears all the time for the Eastbounders.

I have seen exactly the problem you're describing on /several/ occasions; but, I wouldn't give up the double-lane road, because sometimes people do stay their previous speed and you /can/ pass them. This road is a mountain pass, and so there are several curvy sections, all of which are too dangerous to pass in because you can't see far enough to confirm no cars are coming. When the road grows to 2 + 1 again, you'll see several people enthusiastically pass the slow person and from their slower speeds.

tl;dr: live in the US, love the 2+1 lane when it's around.
We don't have one, no. Going to get one up tonight.
Can someone link an example with some actual annotations?
> That may be, but this is a bizarre question.

I'm not arguing that – only pointing out that they have a strong partisan motivation to spin this as mandated by Common Core, which parts of the conservative movement have been trying to spin as part of some Democratic conspiracy for years, rather than the more honest “Local teacher / school / district does something dodgy / buys substandard curriculum” story which wouldn't be of much interest to anyone outside of that particular city.
I believe they have 24GB of physical RAM (with the remainder going towards dom0 and the hypervisor).
Control panel keeps coming up. I haven't used one, so maybe that's what I'm missing. You're right, single click OS install or backup would be compelling.
An interesting thing about WooThemes: Their products are all GPL'd. There's a bunch of sites exploiting this by reselling their entire theme collection as a bundle for about 1% of the normal price.
congrats jazzychad & paul!
Sorry if I missed this in your post, but what are you currently doing with Skribit? The Skribit website (as well as your HN profile info) still has you listed prominently.
for-loop does create a scope. In fact, every statement block is a scope in itself.

In your examples, just change the value of variable 'a' to 100 or 1000 and you will see the difference.
I know lots of HNers ordered this. Has anyone received a unit? I'd be interested in reading some more about it. I am still on the pre-order list simply because I had forgotten about the product altogether since I have heard so little recently.
Webklipper is a simple web annotation tool. It lets to highlight sections and add comments to any webpage. Sharing feedback on design is an awesome use-case for Webklipper. Give it a shot - http://webklipper.com
Oh god, salt-stack is just like this. Lots and lots of documentation which looks great at first, but once you actually start using it it's frustration after frustration. The poor typography and use of YAML doesn't help...
What are you classifying as a hack? I've always enjoyed the trick for squaring numbers ending in 5. You take the number(s) before the last 5 and multiply it with the number above and add 25 to the end,

So for 4545, you do 45, which is 20 and add 25 to the end, giving 2025.

That's a fun one because it's quicker to do it in your head than it is to type it into a calculator.
1) Pinterest.

2) "Missing: word. Must include: word". So Tools->All Results->Verbatim for every single search.

3) It sucks for technical queries.

4) That no matter if I use a new account, lifetime account or no account at all, it never gets to know me. My search results oscillate between generic Stack Overflow answers and ResearchGate (and the like) papers, which most of the time are too complex or not accessible at all.

5) Piling up filters. My queries often include "-amazon -ebay -alibaba -aliexpress", etc.......
People will NEVER lose interest in a trustless ledger, because it is impossible having 100% citizens who trust banks and govts and feel free with giant fees while sending money abroad. My oxygen analogy is not so crazy, there was some deathes like this under certain circumstances.
looks cool i've been using svelte a lot and find it to be great, although I do not like all the upfront code you have to load for a hello world app.

If this gets more features I can see it being a contender.
I do not see any refutation neither from you nor from others.
Someone will probably come up with a better answer but you can check out https://www.heise.de/forum/ for tech news.
> For example, if I make one bad choice, am I then morally obliged to keep making the same bad choice?

No you are not. But I think, if someone points out your inconsistency, a person (or group/organisation) really ought to have the honesty to be able to say "Yes, you are right, that's a fair criticism, I am being inconsistent, I will try to be more consistent in the future". And one way of being more consistent in the future would be to do the moral thing from now on, and obviously that would be morally superior to achieving consistency by choosing to consistently make the bad choice instead.

> you haven’t given any reason why the NYT should have colluded with Scott to keep his real identity a secret

He asked for it, and his reasons for asking for it were reasonable. Faced with a reasonable request from a person that their privacy be respected, I think the ethical thing to do is to respect their request, unless there is a strong public interest in disregarding it – which I don't think there is in this case. (And I'd add that if you are going to justify violations of the privacy of others by appeals to the public interest, you ought to clearly state your claim in doing so, which NYT has failed to do here.)

I was one of the many people who already knew Scott Alexander's real name. I don't know him personally, I'd just worked it out. But I wouldn't have posted that info publicly, because he asked people not to, and even though I don't know him personally, he seems like a decent guy and respecting his wishes in this matter was the moral thing to do.
Ironic in how it has parallels to physical rental stores (aka blockbusters) being a necessity.
Insulation is the main issue. I live in a cold country where it often gets to -20c (-5F) during winter, but we can have peaks well below that. We usually don't even turn our heating on until it drops below freezing as our home is well enough insulated (we have much stricter building standards regarding this than the US), so that it's comfortable inside (21C/70F) until then.

Insulation helps in the summer too though - it's not just something you need in cold climates. If it's hot outside and you are running AC there's a temperature differential. Insulation will reduce the equalisation of that, and reduce the amount of energy you are using to cool your home. It's epecially important if you are in a stick framed home where there's basically no thermal mass (as opposed to masonry).
Except you think that, rather than saying it audibly.
It might not be that hard to find any old developer, but if he is getting ready to invest his life savings and is living out of his car because he wants it so bad – he is not going to want any old developer – he wants the right developer. You got to get the right people on the bus before you start driving. So how should he go about finding the right developer/co-founder?
> I also see this from people who are using VCS, but that's mostly because they are overcautious and/or have not really gotten "warm" with the VCS.

I think that's partially because many developers will "learn" a VCS when working on a school project or hobby project by themselves. For a personal project, often all you really need is dead-simple versioning, and even then you may complete an entire project with just a linear series of commits on a single branch. It's easy to avoid really learning a VCS in that environment.
I remember seeing that at some point in the settings but I don't think it is there anymore?
I tend to be the card carrying non-academic in my circles, but there are certain problems you cannot solve outside of academia, and to this day, much of the approach I take to solve business problems draws upon lessons learned at that time (when you are resource constrained you can get really creative).
I don't know a single person who's done substantial systems programming who takes Go seriously in terms of their field.

Rob Pike? Ken Thompson?
The assets of Berkshire Hathaway though are US$ 297.119 billion, per Wikipedia. He certainly has the vested interest in GS revenues, but perhaps not as much as you imply.
Am I the only one who found the film a bit disappointing given all the hype? While the first half was pretty cool and I really enjoyed the Facemash hacking scene, the second half felt like it was just endless squabbling over who owns what. Not exactly inspiring.
Delete your cookies from NYTimes.
You missed the point. Yes, dead code analysis may make sense (although a benchmark that includes dead code is probably a bad benchmark...), but this "dead code analysis" fails on utterly trivial variations of the benchmark (http://people.mozilla.com/~sayrer/2010/sunspider/diff1.html, http://people.mozilla.com/~sayrer/2010/sunspider/diff2.html - adding a "true" in the middle breaks it!).

The most likely conclusion is that IE doesn't do any "real" dead code analysis; it just recognizes this particular snippet.
I wonder if this will result in a blanket requirement that getting ANY GPS data for an American Person would require a warrant.

The significance is that this pertains to a "GPS Tracer/Tracker" being "attached". How about a modern smartphone? (As the article touches upon)

Is the mere presence of an already attached GPS system enough to trigger the purview of this ruling? I suspect not but hopefully this will be put to the test soon.
I'm the same way... 42 now and my eyes aren't the same. Definitely macular degeneration. Dark mode really helps me.
Completely unrelaed to the product but my brains registered the page as "cloud flare error page". I was the back button, but something felt off, and only by looking a second time, did I understand I really was on the correct page.
Dark mode is a talking point for both iOS and Android imo.
So someone can just up and invite themselves to a meeting I set up and did not invite them to?

Sounds like an entirely toxic environment.
Oftentimes it's unavoidable. You operate businesses subject to the (legitimate) right of the government to create laws of general applicability. But there is a spectrum.

In this case, a California court of appeals found that there was no "public trust" right to access the beach years ago. So what did the state do? It pursued a frivolous theory based on the idea that just because someone has been operating a public beach, they and all their successors must keep operating a public beach. That's not a law of general application "requiring everyone to put seatbelts in cars." That's abuse targeting a single individual and his property.