jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> Transcriber's Note: This etext was produced from Amazing Stories April 1956 and was first published in Amazing Stories April 1927. Extensive research did not uncover any evidence that the U.S. copyright on this publication was renewed. Minor spelling and typographical errors have been corrected without note.
So far I’ve given my two year old a duplo train that you can ‘program’ by putting specific tiles on the track, but the only one he’s shown much interest in is the one that stops the train.

It’s early days yet ;)
It seems that palm oil makes a decent alternative to hydrogenation. My current favorite butter is Trader Joe’s Crunchy No Stir, which contains 90% roasted peanuts, powdered sugar (cane sugar and cornstarch), palm oil, and sea salt (in that order on the label). 3g total sugar (2 added) in one 2 tablespoon / 32g serving.
Any time usernames and passwords are sent over plaintext, something is wrong. Some people could be using the same user/pass combo on other websites (Gmail..). They shouldn't be, but they do.

Even if it were just the HN account hijacking, that could end up being pretty serious for some of the notable figures around here.

Either way, it's just a best practice that should be implemented here (it's called Hacker News, ferchristsakes!)
Safes are rated in amount of time it takes to destructively open, usually with power tools. Anywhere from like 20 minutes to a few hours can be expected IIRC
New drives already had the updated firmware back in May when I bought some.
What are some old fails that need fixed?
I'm trying really hard to think of a recent IPO of a profitable company. Companies in 1998 had "actual revenues and profits", Pets.com was just not one of them. I worked at Microsoft during that time, and they were making money hand-over-fist. Pretty sure Oracle was raking it in. Hell, even Sun wasn't looking bad. Same deal today: MSFT is still making it by the semi-load, Apple is still making me money (and a dividend, which you weren't getting in 1998). I could go on.

But you're not wrong, there is a difference: crap like Uber doesn't shoot to the moon on opening day. Or, as you put it, people aren't throwing money at them, hence Uber (et. al) still sitting under IPO price. That's what I think might save us from a repeat of early 2000s. Hair stylists aren't giving me stock advice these days, either.
It was probably fast 10years ago when the store had couple of items, the dev back then never thought that it would grow to 60k items. Classic programming right there.

As for profiling, Windows Performance Toolkit is the best available no?
I always tell a story about an application we ran, it generated its own interface based on whatever was in inventory. Someone did something really stupid and duplicated each inventory item for each main unit we sold...so you had recursive mess. Assigning 100,000 items when previously it was 100-ish

Anyway, everyone just rolled their eyes and blamed the fact that the app was written in Java.

It ended up generating an XML file during that minute long startup....so we just saved the file to the network and loaded it on startup. If inventory changed, we’d re-generate the file once and be done with it.
Yes. My income is comparable and I work at a private company. Full cash comp. Salaries are generally high but I took a few risks and my earnings have compounded based on that. I’m currently a IC but on track for leadership.

A lot of it is politics.
This gotta be a joke right?
Your story is something I would expect form a 4chan greentext.
In case its not: I am happy you can live with this kind of diet but honestly, it just sounds very horrible for me and if I would need to live like that every day I would become very depressed. It's worth to cook at least simple food, just to have some variety in ur daily live and warm meals are so much nicer than eating cold every day.
I just recently took the LSAT (now administered on Surface Go) and I saw test takers use the "High Contrast" mode in the software much more frequently than I expected.
> If you want something that keeps the HTML and JS separate ...

I guess my JS knowledge is small enough that I just expect the HTML and JS to be primarily separated. (It seems like a best practice to me, but I haven't experimented with code that wasn't primarily separated, so I'm sure I'm missing some important insights).

Thank you for making the knockoutjs.com recommendation. For someone, with primarily Angular experience, who is looking to broaden their horizon, which of the three would you recommend as the next framework to learn: React, Riot, or Knockout?
I'm ignorant of the law here: This article starts off saying basically that the FBI agents distracted him long enough to steal his computer and image the hard drive...is that legal? I thought you needed a warrant or something for situations like this?

Or is it illegal-but-it's-ok-it's-the-FBI-shhhh?
I'm sympathetic to GG, but that name stuff is too close to dox for my taste.
No matter how good iMessage may be, it's still a walled garden. It only provides privacy for the relatively privileged owners of iOS devices.
Fast and Furious = Drone Edition?

FAA got pushed around pretty good in the Congress hearing yesterday

http://www.c-span.org/video/?c4524659/colin-guinn-testifies-...
Which has nothing to do with assuming or not assuming responsibility. This is known as moving goalposts.

You'll notice I've said absolutely nothing about whether or not he assumed disproportionate amounts of credit. That kind of thing is murky at best. How do you measure credit? Is it something your boss gives you because he likes you or is it something you actively vie for? In some cases it can be one, some the other but in most cases it's a little of both.

You still haven't admitted even a little bias, despite being shown your quite obvious bias in at least one context.
The claim that most uses of random() are not in places where cryptographic security is needed is not in conflict with any list of examples where it is needed.

Here are the last several times I saw random() used.

Seeding a neural network for a Coursera course. Not only do you need to call random() a bunch of times, but the ability to set a seed and get deterministic results makes grading of the results massively easier.

Creating simulation data used for integration tests on a piece of software.

Picking a few random numbers that I used in an explanation of an answer.

Of course the plural of anecdote is not data. However in my corner of the world it is very rare to need cryptographically secure anything. And when I do, I know better than to code it myself. But it is common to need a lot of cheap numbers in a hurry.
Yes those are in breach of the regulation, and technically there are incentives - the maximum fines under GDPR can be quite large.

The problem is that it doesn't seem like the regulation gives the right to a wronged party to sue for those sums of money. You can sue (I guess technically you can sue for anything anyway) but this would involve proving some damages.

The only parties that can enforce the regulation (and levy the promised fines) are privacy regulators (such as the ICO in the UK, or the CNIL in France). Sadly, they've all demonstrated their incompetence and unwillingness to improve multiple times.

There's a non-profit in the UK that wants to take the ICO to court over its incompetence/unwillingness to enforce the regulation - feel free to vote with your wallet: https://action.openrightsgroup.org/help-us-protect-your-data...
he only knew them for 3 months
I would seriously consider getting it depending on the bandwidth. Direct access to web search and an indexed storage system would be having a super power.

Plenty of people get Lasik just to avoid the annoyance of contacts/glasses and eyes are technically part of the brain. Why wouldn't there be a market for BCI when the potential benefit is much greater?
Of course they're different. They have different meanings, so they're different definitions.

It's not like it's the same concept with different hidden implementation details.

On Digital Ocean, I can delete the server but I still have the snapshot. On the others, you can't. One copies, the other bookmarks.

They're entirely different concepts, therefore different definitions.
> Do we wait around for someone else to cook up a batch of similar secret sauce to confirm the result?

It took you folks 20 years to redo the experiment. Independent lattice calculations have already been underway for some time; I would expect (but I won't promise, not working on the topic myself and not having any particular insider information) results on the year-or-two timescale.

> Will they release their gauge configurations after some embargo period?

BMW probably will not do this. In their recent Nature paper they do say that upon request they'll give you a CPU code BUT when they provide a nerfed CPU code that produces the same numbers, rather than their performant production code. ... annoying.

> Or should we believe them just because they are top-notch?

Well, maybe? Why do you believe the theory initiative's determination of the vacuum polarization or the hadronic light-by-light? Some how it's more sensible to back out those things by fitting experimental data than by doing a direct QCD calculation? There's no free parameters in a QCD calculation, but fitting... well, give me a fifth and I can wiggle the elephant's trunk.

> I've seen top-notch groups like this fall before, so it seems quite reasonable if experiments aren't citing them now.

I think it's wrong not to hedge the experimental results and it's wrong not to cite them, but I understand why experimentalists wouldn't take their result as final either.
This is an Orville reference isn't it. (or at least, it could be and would be extremely related)
A monopoly is not objectively a bad thing, just like debt is not objectively a bad thing. Else we should abolish the patent office.
Or long enough to have an experiment which proves the negative externalities of the platform.
The european/american thousands separator always manages to confuse me for a second: "Two Euros a month? Who gives a crap?"
I do it for the submitter on my site. I understand why some might think it is controversial, however. Actually, it might be best to keep it to comments only. -That's user created content. I'm going to consider that for my site. Thanks.
Personally, I have a dedicated server, there's plenty to be had out there for a relatively cheap price. ($50ish range, they're out there, I'm hosting at http://securedservers.com)

A dedicated server is a good opportunity to learn about server administration too!
if i had a killer idea and a ton of money, i'd fund it myself.
1. See the future.
2. Execute.
3. Profit.

The points in the article are as myopic as Apple's competitors. You aren't going to beat Apple by reacting to what Apple does poorly today. Instead, ask "Where is technology going in one, two, and five years?" Then get the people that can do something about it and do it.

Maybe you will see a future that includes things Apple doesn't do. But maybe you will see a future with things Apple already does and you had better get on board or face extinction.
Linux has been the standard for a couple years for new development and there is an active effort to move to Linux for older properties.
Now you are just purposely confusing trademarks with patents in a kneejerk defense of Apple.
Mentioning death by drunk driver is particularly important. It's easy to get the idea that you have 70+ years to achieve all the things you want, but it can all be snuffed out on a drive you take every day.

If I'm dead, it's not like I'm going to have much ability to regret anything. The problem isn't death, but crippling debilitation that doesn't leave one dead but leaves one in a state where the unfinished goals can't be done. Even then, there's an infinite amount of things you couldn't get to, so this seems like a waste of time to fret over.

Even if it motivated you to get a lot done, I'm not sure I want to live my life under the constant specter of fear of death or disablement. That doesn't sound very exciting, and doesn't lead one to take even the slightest risk.
For those of you feeling nostalgia for Turtle Logo:
http://turtleacademy.com/
It really just depends on the project. Sometimes, all you want to do is, like, take data, type-check it, maybe do a couple of simple transforms, and then store it. But you want to do it 50,000 times per second.

In that case, it may very well be the case that ops costs absolutely dwarf dev costs.

Similarly, it may be that what you want is to take data and run it through super-complicated algorithms depending on a lot of business data, and massage it all over the place... but you only need to do this 10 times per second. In which case your dev costs may absolutely dwarf your ops costs.
Oh, but my favourite option "blaze menu" is missing :)
You can do worse than pip and virtualenv, yes, but I wouldn't call pip the cream of the crop by any means. NPM is way easier to use for starters, and Go, Rust and Nim go one step beyond NPM by compiling language dependencies down to a single binary file which can be shipped to users. It's very succinctly done.

Python really needs to step up the game to stay ahead of up and coming languages like Nim, which looks like this:

import rdstdin, strutils

let
time24 = readLineFromStdin("Enter a 24-hour time: ").split(':').map(parseInt)
hours24 = time24[0]
minutes24 = time24[1]
flights: array[8, tuple[since: int,
depart: string,
arrive: string]] = [(480, "8:00 a.m.", "10:16 a.m."),
(583, "9:43 a.m.", "11:52 a.m."),
(679, "11:19 a.m.", "1:31 p.m."),
(767, "12:47 p.m.", "3:00 p.m."),
(840, "2:00 p.m.", "4:08 p.m."),
(945, "3:45 p.m.", "5:55 p.m."),
(1140, "7:00 p.m.", "9:20 p.m."),
(1305, "9:45 p.m.", "11:58 p.m.")]

proc minutesSinceMidnight(hours: int = hours24, minutes: int = minutes24): int =
hours * 60 + minutes

proc cmpFlights(m = minutesSinceMidnight()): seq[int] =
result = newSeq[int](flights.len)
for i in 0 .. <flights.len:
result[i] = abs(m - flights[i].since)

proc getClosest(): int =
for k,v in cmpFlights():
if v == cmpFlights().min: return k

echo "Closest departure time is ", flights[getClosest()].depart,
", arriving at ", flights[getClosest()].arrive

And performs like this:

Lang Time [ms] Memory [KB] Compile Time [ms] Compressed Code [B]
Nim 1400 1460 893 486
C++ 1478 2717 774 728
D 1518 2388 1614 669
Rust 1623 2632 6735 934
Java 1874 24428 812 778
OCaml 2384 4496 125 782
Go 3116 1664 596 618
Haskell 3329 5268 3002 1091
LuaJit 3857 2368 - 519
Lisp 8219 15876 1043 1007
Racket 8503 130284 24793 741

http://goran.krampe.se/2014/10/20/i-missed-nim/
I'm guessing that the messages are tailored to whatever pushes the buttons the best. For example, if only one person has ordered today but it was 5 minutes ago, then show the "this product was last ordered 5 minutes ago" message instead of "1 person has ordered this today". Or, if there's lots in stock, then show the "you'll get this tomorrow" message.

I don't think it would be hard to make the messages selectively true.
This is exactly what I do, I'm surprised I'm not alone.

I respond to intelligence with intelligence and to stupidity with stupidity.
This sounds like apples v. oranges.

Are males a minority group? No, technically not, since sex split is about 50/50. Is the high preponderance of men ending up in prison concerning? Yes. Frankly our high incarceration rates for non-violent crimes is extremely concerning. Does this somehow invalidate the problems brought up around female equality? Absolutely not. I also believe there is probably additional negative bias towards African-American males because of racist tropes.

Also the 99% figure was from the Innocence Project, Google brings up Federal Bureau of Prisons stat suggesting active incarceration is closer to 93% male, 7% female. Still concerning.
video games today are even worse! they take also two minutes to get you into the game. then the game have cut scenes that you have to keep pressing A to get to back to the fun part.

Main reason i hacked my wii is to cut the crap on most intro and whatnot a game have (not to mention the time to speed up the disc).

a player that is using the official disc takes around 2min to start playing COD:black ops.

Myself, using a USB driver and a dump of my disc (which is pretty much the setup pirates uses, with the added benefit of being cheaper and not having to walk to a store) waste less than 1min to start playing. not to mention that multiplayer load times are faster too. so i'm usually roaming the level some 2sec before the rest.

NB: i didn't see the need of all that while playing mario kart. just used the disc and was happy. pretty sleak interface and no lame 1min company logo animation like COD:black ops.
A year or so ago I stopped using RTM because the web interface became so buggy and slow that that it wouldn't load half of my lists. I let my Pro account expire. I was really impressed with the tool originally; hopefully they've fixed those issues. I've been doing fine with a plain text file since then.

I honestly think there's always room for another good todo app. Different workflow/interfaces click with different people.
I have a vague recollection about the first incarnation of a similar idea back in the 90s. It allowed users to leave comments that were somehow overlayed on top of the site. There was a backlash by websites worried about people leaving negative reviews, there was something about the implementation that allowed the web servers to block it.

Does anyone know what I'm talking about?
Perhaps I was a bit harsh (and you're right about adding info on my other books; updating entry now...), but my frustration comes from a fairly pervasive attitude that anyone who's making money is inherently a scheming, dishonest person who is just trying to squeeze Poor Joe Web Browser for the extra buck.

It's really grating, especially, when I see that attitude here on HN where I think most of us are all going for the same thing: making awesome stuff and hopefully getting paid to do it.
That it's the case now. I'm pretty active in the Seattle entrepreneurial community and that's not at all the situation here.
As I struggled with the C# type system, I looked to Scala for answers.

When I actually tried using Scala, I discovered that type erasure in the JVM broke many of the generics patterns that I was using every day in C#. Also, I discovered that Scala's approach to the static scope doesn't tackle the tough problems addressed by PHP 5.3.

Then Microsoft added covariant and contravariant polymorphism in C# 4.0, which are the two features that I wanted the most from Scala.
Fair enough. Enjoy traveling!
This is my online development agency's Holiday card this year. I'd love to know what you guys think!
it's a good explanation for why many people have an emotional as well as financial interest in rationalizing why it's not a bubble ...

but to the extent people are in denial, drawing this kind of analogy is very definitely doing a service
Maybe it's just cuz someone ran into me head-on while texting, but I'm glad more people don't tweet what songs they are listening to in their car.
I grew up in a state that makes heavy use of roundabouts, but they call them rotaries. In general they worked wonderfully for traffic control although I did see the end results of a horrific accident when someone managed to go the wrong way on one causing a head-on collision. The ramps were highly angled in the "right" direction so they must have done it on purpose, although I can't imagine why.

Now I'm in another city where they are adding them all over the place including a street I commute to every day. The roundabouts here are significantly more dangerous than the ones we had where I grew up. Not only do people here not know how to use them (it's not like they are making people re-take their drivers license tests after installing these things), but they are not as well designed; most of the roundabouts here are being retrofitted into existing small intersections that used to be four-way stops. There's not enough room to curve everything the way so if someone goes when it's not their turn, it's going to be a right-angle collision.

I think roundabouts are great in theory, but they need to be done right and people need to be made to learn how to use them.
Running SSH on a different port sounds like good advice because the automated scanning tools tend to focus on port 22.

However, if you're vulnerable to the scanners then you haven't actually addressed the vulnerability they exploit. What you're looking at is a form of security by obscurity that reduces the number of low end attacks, but if someone port scans you, finds the SSH port and runs the same attacks you're still going to get compromised.

Another thing to consider is that if you're moving SSH ports your OS will still respond to requests to connect over SSH by telling the scanners that there's no SSH service running on that port. If you're being metered for bandwidth by bytes transferred it shouldn't be a lot (unless you're getting really hammered by it, which tends to happen when the IP address has been previously compromised).

The correct way to deal with this is to use only public key authentication (which stops people getting in through password brute forcing) and to block the port with a firewall with exceptions for the places that you access it from. You can find out where you're accessing it from by going through the SSH logs.

By all means swap ports if you want to, but don't rely on it alone.
Point taken about "preventing the users from making emotional investment in your game by witholding progess feedback".

We do have the points 'on demand' inside the stats tab at the bottom of the screen (more due to technical issues with synchronizing points in real-time). We'll work on putting it up prominently on the front screen. Thanks!
1%.. really? I was tertiarily involved in this at a college job and they where paying 50 to buy debts. 1% is shockingly low really.
There is an absolute dead-beat who happens to have the same (extremely rare) name as my brother. Several times a year I'll get a call from someone looking for him. Usually it's one call and that's it. However, I've had a few collectors who would harass me for weeks. I have no damn idea who the guy they are looking for is (it's not my brother, they're looking for someone who has been in the military)... it can be really annoying.
A few years ago I accepted a job in downtown Chicago. To minimize my commute, and to buy me time to learn the city without having to make a big commitment upfront to a particular home or long-term lease, I got an apartment just a few blocks walking distance from my new job. I liked it enough that I stayed there for 3 years. About a year or so into it, my employer moved their offices to a new location that was closer to my apartment: literally across the street from my apartment building. Insane luck. It gave me so much more free time and reduced commute stress it was worth it. In my mid 20's I had a few jobs where my commute was 1-2 hours, one-way, twice daily, M-F. By my 30's, I vowed "never again". After leaving the Chicago job I reduced my daily required commute down even further: I do independent contracting and therefore can work in my home, or wherever my body+laptop happens to be at the time. Saves money, saves time, less pollution, less stress. No going back, baby.
Btw, now that you've seen the game, don't you think it will be real fun having like 10 people play per team? Trust me, the game dynamics change so much!
To be fair he's not saying that. He's saying that he's concerned about the increase in complexity of the SSH2 code base. Given that was 4 years ago I'd be surprised if the SSH2 code base hasn't been thoroughly audited by the team.

I think it was a valid concern to have if SSH2 hadn't been audited at the time, given that you're trading known issues for an unknown solution that may or may not work, but to infer he thinks SSHv1 is more secure than SSHv2 in that post is slightly inaccurate.