jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Most software doesn't really need fixed port numbers. A few older systems like the DNS system are in practice limited to a fixed port, but most newer systems are port-agnostic. My postgres server is conflicting with some other service using port 5432? Who cares, I will just start it on some other random port. All that changes is that I have to type 5 more characters when connecting to it. SRV records are quite nice for user facing addresses because it's less stuff to remember, but for the majority of protocols it's not needed.

Until people start to offer tens of thousands of services per IP, we won't hit any port shortage. And in the hypothetical future where that happens we hopefully moved to IPv6 and can just use another IP address.
You have two options.

A. You can compose components the same way Bootstrap does, but using semantic classes. For example, if Bootstrap is using "thumbnail-container", you could call your class "product-thumb-container". Because of the way HTML works, container classes are often necessary, and they can be semantic. Think about a legal document: at the end of them, you have appendices. An appendix is like a container: it's factored into the overall structure, but it also has a semantic value. You can't move an appendix somewhere else and still call it an appendix.

B. You can use only the parts of Bootstrap that you want, so you could leave components out altogether. As mentioned above, this might be a better option for a larger project with fine-grained, custom designs.
I hate anything like this that breaks the open web, it's not healthy for the ecosystem.
> I'm sure everyone here is dying to know what "cryptographically protected" means.

Ditto. I tweeted them, but not hopeful for a reply.

The words "cryptographically protected" are borderline 'weasel words' given that many organisations have conflated 'cryptographic' with 'cryptographic hash' (NOT suitable) instead of a proper key derivation function (KDF) designed for the purpose.
The story gets so much better by the fact that most of the pieces have a maritime or nautical theme.
To oversimplify, companies can distribute earnings as dividends or as capital gains. The US' tax regime strongly rewards the latter. Investors, particularly large investors, have both a) explicitly asked for and b) implicitly expressed their preference (via market mechanisms) for their earnings to be in the form of capital gains.
Thanks, that's a more relevant example of discriminatory pricing. I wonder though if people defending net neutrality would look at this and think "off-peak pricing is wrong, everyone should pay the same..."
You can often deduce the pipeline sizes from a trace route - if the next step out of your ISP is LA-NYC-1G.carrier.net you’re probably never going to see more than 1G until they upgrade the equipment and leave the name the same.
We are insignificantly smarter today than we were 1000 years ago. Take a baby from 1000 years ago and bring him to the year 2015, and he will probably be able to fit into modern society perfectly fine.
The source article is one of my absolute favorites. But CS department != industrial research lab...
Doesn't seem like you have a ton of control over the situation, seeing as the rules as written are almost impossible to break in some manner, the rules are only partially declared, and you cannot police your users who may think they're doing you a favor (note: he did actually discourage his users from clicking).
This is ridiculous. Google makes more money when they pay you more money. The income is tied together. They get a cut. So, it's not that they feel like they are paying you too much. Many sites/individuals make a lot more money than this guy did on Adsense. In this case, they felt the guy was sending fraudulent clicks through the program.
Well, and 2 TB of key tables.
from what I understand the majority of his traffic came from gaming reddit, which recently turned on him after he did something (don't quote me, but I think it had something to do with cursing someone out who got tired of waiting for a book).
I don't know, do graphing calculators and html count? If not... really 18 and college.
So the conclusion is, don't build your business model around someone else's business model.
Thanks! Yeah a trial period definitely makes sense.
"Where should i get my hair cut?"

"You should get water and put the fire out."

I'm a bit confused.
Huge thumbs up for making the effort to share a simulated environment.

Having these kinds of "toy" environments can result in more research into some interesting problems.

Over the course of years I taught or helped teach several classes and I implemented a bunch of one-off systems for evaluating AI agents.

Feedback on the system:

* Implementation:
* I encourage a more modern use of C++, certain choices
unnecessarily complicate the code and make it less
flexible.
* Example:

Piece *p = new Piece(curPiece->getPieceID());
...
delete p;

* (use unique_ptr instead)

* Example 2:
in game/Piece.h you do not advertise constness on
simpler getter accessors.

* Example 3:
* the constants in game/Constants.h make
experimentation in Runtime not flexible enough.
There's no reason why most if not all of these
constants should not be configuration parameters
for a game.

* Example 4:
* Instead of documenting some errors with cerr,
consider using exceptions.

* Include a proper build file. I recommend CMake as it is
available for all popular platforms and easy to read for
simple projects like this. Otherwise a simple Makefile
will do.

* Features:
* Provide a way to automatically evaluate:
* A single agent performance using one or more proposed
scores.
* Agents against each others using the ELO system
* Simulate all nuances of the Tetris game
* Compare agent performance to that of human players
* Provide bindings to other languages that are fun to hack
in, such as Python and Lua. Extra credits to make the
bindings accessible to languages that do not share the
same machine model, such as JVM-based Scala/Java/Clojure
or functional languages such as Haskell or O'Caml.
... maybe Arc or Racket bindings as well? ;))
Love it but important to note "Spectacle is no longer being actively maintained" and it has been like that for over a year
Don't forget the glorious Norwegian expansion to.... Bouvet Island.

The UK protested meekly for a little bit, then I guess realised it was worthless enough not to be worth arguing about.

https://en.wikipedia.org/wiki/Bouvet_Island
Nobody elected those people though. In a democracy, they shouldn't have that much power.
Interesting. There's definitely room for something without the bulk of OpenSSL and the compatibility layer makes it more feasible.
I guess one person dead qualifies as "harmless" in america, huh?
There are two warts - having to declare methods, and the obscure error message. A smart error handler could have seen that frobnicate had been defined further down, and told you exactly how to fix it. And it would be ok when that error handler didn't work in the REPL.
I've been a full time programmer for 12 years, and I'm still learning. There is no magical 6 month course that at the end of you're a 'programmer'. I'd say the majority of programmers are programmers because they enjoy the challenges of problem solving and controlling processes. I'd also say that most programmers are self taught anyway!

I'm also not sure there is now standard way to learn either. Sure you could take a course, but it will probably skip out lots of parts along the way. For example, learning to program websites in Ruby, won't teach you the basics of mathematics or algorithms.

Read as much as you can, from as many sources as you can. Start simple, which IS slow, and takes a lot of time, and won't have much to show for your endeavours, but build on it, and you'll be able to accomplish anything
> why not simply generate the traffic yourself ?

Couldn't github simply null-route all chinese-origin traffic in that case?

Currently the DDoS comes from everywhere except china
It is just me or some of the things seem quite difficult to enforce in reality, like identification of age of a child visiting a chat room.
Industry is important. Pick an industry that actually has money to pay for software. Not all industries are equal.
I interview quite a bit (hire about 2 people per month to my department) and I always ask where their compensation is currently at (or if they are unemployed, where it was at). This is one of the more important questions I ask because it is usually obvious when someone is lying and it helps me understand how this person's previous employer valued them. As an employer, I want to know they were an asset.

Yes, someone could lie. People lie all of the time. One of my jobs is to feel that out. I screen for integrity. I look for any hint of lying, even if they are joking. You can always tell someone with integrity from someone without it. And we want to work with people of integrity.
@_____@ Why use this when you can use CSS?
Are SSR/SPA solutions really that much more expensive than local apps to develop?

The start of my ladder looks much the same as yours except I jump from local files straight to single database SSR/SPA. Maybe slightly more complicated than a local app because you need auth, but when prototyping something I just use basic auth to start.

Chuck it up on a $5 DO box and you instantly get:

- Multidevice access, desktop and mobile (write mobile-first css and the tiny screens aren’t a problem)

- a UI that’s trivial to hack on (HTML and css are easy)

- likewise, a technical base that’s easy to extend. Drop in react, build out the api side and use it as a source for other projects, etc

All this assuming you have reasonably reliable network access, and even then you can build it as a clever PWA falling back to local storage if you need to (I think, prototyping that is still on my todo list)

Heck, save yourself $5/month and stick it on a raspberry pi at home.

It’s truly a golden sweet-spot for personal software tools. The only external dependency that irks me is needing a domain name.
The standard library of C++ assumes exceptions and that dictates code style that, even if one assumes infallible allocations and disable exceptions, one gets suboptimal code. So even with exceptions off one pays the price either in the form of non-standard library or accepting non-optimal performance. And if one has to prepare for fallible allocations, then the standard C++ is of no use at all in practice.
Agreed. Used to respect the NY times, but now it's just borderline far left propaganda
As a former Redditor I can't complain too much, but I feel like there was a big wave of reddit-like comments and voting that started around 18 months ago or so. HN used to be a refuge from dumb jokes, dumb comments, personal attacks, and the overall negative tone you find on other discussion forums. HN is still better than reddit, but there are some topics I just avoid now, or make more liberal use of the [-] to collapse a toxic thread.
But if you try to google if there is any conclusive research that sugar is bad you will find that actually there isn't. For example this is a good review.[1] And a more scholarly review [2].

The truth seems to be that there is no one "bad" food. Of course over consumption of everything is bad. But there does not seem to be any one food that is so bad that there is no safe consumption level.

[1] https://www.bbc.com/future/article/20180918-is-sugar-really-...
[2] https://onlinelibrary.wiley.com/doi/10.1111/j.1467-3010.2012...
> So, you always make the more "convenient" decisions instead and pretend there aren't any problems?

Denying a problem is senseless but you have to pick your battles. It's a waste of time and political capital to question some decisions. You have to pick the hill you want to die on.

Strategic decisions are divided into at least the following categories:

1. Decisions and practices that are effectively written in stone. You probably aren't, for example, going to be able to move Google away from a monorepo. It can be difficult to identify this category from outside the organization.

2. Decisions that are open to influence by people in that part of the org chart. The Chrome developers, for example, probably have some influence on Google's involvement in WHATWG. Someone who works on ad quality probably doesn't.

3. Decisions that seems possible from outside the organization but the inside perspective is quite different.

4. Decisions that anyone can influence. Some of the successful Google protests fall into this category.

5. Decisions that only a director can influence because they don't listen to anyone below them in the org chart. Google is large enough that there are probably some directors like this.

Google has been pursuing non-advertising sources of income for at least a decade; your other asks fall into at best category #2.
1,400 satellites is enough for global coverage but their aim is 42,000. Which suggests ~40+ are going to be in range at one time.
Ha! You attempting to access a computer service that you aren’t supposed to have access to is against the law.
Sounds like NoSQL. I've heard it speeds up development.
In tech it is often incremental changes in the right direction rather than a paradigm shift/rewrite that succeeds.

Even if under current technology we are not able to profitably recycle goods, having an obviously detrimental to the environment material more heavily concentrated seems like a positive to me.
I know this is good news, but when I read it, the first thing I thought was "this would have saved quite a bit of trouble for Clay Davis' driver in The Wire". Which is not actually true, to be fair -- it could still happen in the same way, the only thing changing is what happens to the money after it's seized (well, the bits that Herc and Carver won't stuff in their pockets, at least).
That does not make his statement false. It said they were restarting servers all day to keep it running. Maybe they didn't feel the need to add their book to that maintenance mess.

There's no reason to try to cover up the fragility of the early Rails web stack. That's in the past. It's much more stable today, with many more choices of software at all layers, than it was in 2006.
crashplan is having a sale until tuesday, after that their regular prices will go up.
http://b4.crashplan.com/consumer/store.vtl

i chose crashplan over mozy, after reading some bad mozy reviews (http://wonko.com/post/it_turns_out_mozy_isnt_so_hot_after_al... for instance) . I have the family plan and uploaded 200gb so far, their upload speeds are pretty good.

The only feature I'm still waiting for, is so you can specify different backup sets to archive to your local HD and to their online sevice, but that feature should be realeased with their next update. Other than that I love crashplan, especially the eature that you cannot disable it for longer than 24 hours.

You can also seed your initial backup, that way you don't have long upload times.
I don't quite understand what you mean by Gmail having no way to locally archive email. I use POP to locally cache all of my email on all my computers.
It's not as black and white as a first amendment issue. This isn't press, this is sensitive and classified information.

He could play a much greater role in change were he to use this information in a more strategic fashion than to recklessly publish 100% of it.
I'm not sure that's really a fair comparison. The information leaked about Watergate was about specific illegal activity being conducted by specific people.

It's not really even comparable to the leak of the Pentagon Papers -- those revealed a pattern of multiple presidential administrations deliberately lying to the public about US involvement in southeast Asia.

These last couple of wikileaks releases? They've just been raw, massive data dumps with a comparably terrible SNR.
Is this kind of magic irreversibly baked into Python, or can you make your own magic? One of the things I love about Ruby is that you can make your own magic, because a lot of the "magical" methods that you define (initialize and <=>, for instance) are just, by convention, the methods called by some module or class or whatnot, and you can write your own mixins or do metaprogramming to change up that behavior.
I'd love to hear somebody say they don't take Steve Jobs or Larry Ellison seriously because they're too "self aggrandizing". What happened to results mattering most? There are a lot of reasons to dismiss people and organizations, but how ego size is just about the most shallow reason I can think of.
Roblox was released like 15 years ago. I don't think it is a fad. When users grow out of it there will be new young users to take their place.
In many cases, interstates and other major highways are on old railroad right-of-ways. It's very obvious if you look at old maps of, say, Boston. There's still a fairly extensive commuter rail network but other former railroads are now basically the major highways leading into the city.
It's "good enough", and it used to be free when texting wasn't.

And it's better than SMS at Unicode.
You say that like it is different today. We had a slack outage just a few days ago that affected basically everyone who uses the software, multi-year bugs still exist in cloud software, etc.

The only thing the cloud fixes is the problem of convincing people to rent software.
I'm a WikiLeaks skeptic so I can't say I really support this. But I am also a diplomacy skeptic. I'm very suspicious of the effectiveness of our foreign policy and the honesty of our leaders in engaging in it. I'd even go so far as to say that the diplomatic aspect of our foreign policy is equally or more damaging and deserving of criticism than the military aspect. So I'll be interested to see what the more frank, non-public side, as opposed to the endless bullshitty platitudes we get officially.
Sounds reasonable, thanks for clarifying.
Offtopic: Since when does HN have polls?
Well, iOS uses the same differential ML approach for their keyboard suggestion learning just like Google's GBoard does. So you kinda have the same concern there.
I find it interesting to that people don't use WhatsApp at all. Many posts here are claiming not using WhatsApp is impossible. Grandparent's experience demonstrate that it is.
I feel like they are allowed to keep their secrets provided they don't make something secret just because it might make them look bad or because it's illegal.

But if we let them keep their secrets, how do we learn enough about their motivations to figure out when they are abusing it? Human nature being what it is, if they have the right to make whatever they want secret, they will DEFINITELY use the right to cover up things that make them look bad or are illegal.

Classic case in point, United States v. Reynolds, the case that established the state secrets privilege. When the documents were finally declassified, the only real "secrets" in the report were evidence of serious errors that would have greatly helped the lawsuit against the government.
Using ?. lets you do code like:

var = foo()?.bar?.bing()
if(foo==null){...}

instead of putting a null check between every call. In many cases null is used to indicate that a computation failed. If you are doing a chain of computations, there is often not a reason you need or want to do a check between every computation, instead of having a single handler at the end for if any of them fail.

This pattern comes up fairly often in Haskell, which accomplishes it with the Maybe monad.
Agreed! I think it kind of goes to show that a game often needs a nice cocktail of interesting game state changes (eg: "mechanics") mixed with nice feelings. Audiences vary in how they like the two (eg: Chess compared to Mario Kart), but the right fit is really important to a successful product.

Valve had a nice way of describing "player acknowledgement" [1][2] for cosmetic things like bullet holes or lighting affecting our lizard brains. On the other hand, a close friend of mine really enjoys the "Star Wars: Rebellion" board game. [3] The decisions and mechanics gives the sense of excitement he feels when he watches a Star Wars movie.

I don't blame Garfield for making the kinds of games he likes though. His clout probably helps makes new trails for other ideas to take shape and be improved on.

[1] https://www.gamasutra.com/view/feature/131815/the_cabal_valv...

[2] https://youtu.be/Td_PGkfIdIQ?t=1634

[3] https://boardgamegeek.com/boardgame/187645/star-wars-rebelli...
I haven't been asked for years. I have the same username i had in 2006.
The iPhone 5 battery is specced as 5.45 watts, even assuming 100% load all the time wouldn't this mean less than 50 kWh a year?
I think it's perfect.

Adding sarcasm tags here would be like adding ketchup to your hotdogs, comic sans to a summons, or promises to node.js core.
> And that was only because my Boss insisted since he refused to learn to use a command line.

I'm certain I'm going to get crap for this, but your Boss had no business being near a server if he wasn't willing to get with the program and A) Delegate B) Lead by Technical Superiority. I feel really weird to say this, but I get the "non-technical technical manager" now because what they're supposed to be doing is MANAGING and not doing technical things, because they fail at "doing" and are suposed to be good at telling people what to do and tracking progress/etc.

werd.
When I do a "base" install I use Debian netinstall .iso and there's zero "garbage".
"I've never heard of a study claiming B12 in animals in vivo is not synthesized by bacteria (or archaea). Care to give a reference?"

That's not what I was referring to. I'm referring to the (implied) claim that the B12 synthisized in our gut by bacteria is available to us.

Wikipedia doesn't support that claim, and Wikipedia is editable by anybody, so while it's mostly trustworthy, if a heavy portion of the editors have a bias, it's going to show in an article that is heavyily political/quasi-relisious like veganism. Or vice versa if Wikipedia editors are heavily carnivorous (e.g Atkins) and hate vegans or something like that.

"Been vegetarian for over 35 years (only a few years of those vegan, but not having a B12 source in almost any)."

Well, I don't know you, and can only assume you aren't lying or bending the truth, so I'll say that it is possible you are an outlier. In a cursory search yesterday (a couple hours only) I found references on both sides of the fence claiming that we can use B12 synthisized in our gut, and about the same number of sources saying we couldn't.

Who to believe in such a hot, political topic. A guy with an axe to grind (vegan trying to defend/promote his lifestyle) or the fact that there seems to be no concensious in the sciencific community?
I hate doing this, but both the wikipedia articles for concurrency and parallelism agree with me:

Concurrency
> In computer science, concurrency is a property of systems in which several computations are executing simultaneously, and potentially interacting with each other.

Parallelism
> Parallel computing is a form of computation in which many calculations are carried out simultaneously, operating on the principle that large problems can often be divided into smaller ones, which are then solved concurrently ("in parallel").

In my opinion there's really not that much more to concurrency that's hard, apart from safely organising the communication between concurrent processes/threads. It's then the opposite problem with parallelism; the difficulty is finding and implementing the physically separate execution of different threads of execution in a program, while (generally) the communication is seen as a concurrency problem.
> Oh - and of course: have you considered Lego Mindstorms?

Got 51515 from Santa:)
> Sometimes, it's difficult to get paid extra due to organizational barriers.

That is total manipulative management/HR bullshit.

I would immediately counter with "It's difficult for me to be on call outside office hours due to personal life obligations."

Their poor organisation is not your problem. Their need for additional work outside the hours for which they are paying you is totally their problem.