skysight-inc/HackerNews huggingface dataset:
> Palo Alto

As someone who lived in Palo Alto for almost a year without a car... there is so much to be desired for public transit. Outside of the few blocks near University, it quickly becomes a walking wasteland. My bike, on the other-hand, was a divine gift from the heaven and, when combined with CalTrain, enabled a fairly large world-bubble.
I thought Destiny 2 had bombed, given that they gave away copies of it (in December?) if you had a Battle.net account
FYI PostGres appears to have over 400 keywords, shown here:

https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f...

The way I've seen most languages do it is something like this:

switch (c[0]) {
case 'c':
if (strcmp(c, "case") == 0) return CASE;
if (strcmp(c, "continue") == 0) return CONTINUE;
...

case 'f':
if (strcmp(c, "for") == 0) return FOR;
if (strcmp(c, "friend") == 0) return FRIEND;
...

}

I suspect that's good enough if you have a typical keyword list of say 20-100.

I just looked at Clang and it appears to build the list at runtime, using a regular hash table. I think this is because it has to handle C, C++, and Objective C, and they have different sets of keywords.

It seems like they could change it to use something like perfect hashing, and if that's even a 1% win, it would be worth it for the extra build complexity, since C and C++ compilation take up so many CPU cycles in the world.

See lib/Basic/IdentifierTable.cpp.

Although another problem is that the list of keywords depends on whether you're compiling C89, C99, C++98, C++11, etc. But that is a finite list so it seems like it still can be done with code generation ahead of time like PostGres does.

In Oil [1] I use re2c [1] recognize keywords, along with the rest of the complex lexing process, and it works well. It builds a DFA expressed in C code. The slower parts are elsewhere :)

EDIT: In theory, the DFA seems better than perfect hashing because you can bail on the second character if you get "xzoo" and no keyword starts with "xz". I think with perfect hashing yo still have to look at every byte.

The switch statement above also avoids looking at every byte in certain cases.

[1] http://www.oilshell.org/

[2] http://re2c.org/
I can't believe how far they've fallen. Take a look at the brilliance of the first Halo to the clusterfuck that is Destiny - I have such vivid memories of the pacing, art style, music that is Halo. All abandoned for a game completely lacking any story (or backstory!) designed as a MMO money grab grind.

Excited to see what's next.
43% of Stage I cancers detected, 33% of breast cancers detected and called "the best result so far" by this one science blogger (for breast imaging these numbers are usually around 90):

https://blogs.sciencemag.org/pipeline/archives/2018/01/22/a-...
Truth. My job is "important", but at the same time I don't think anyone's life would be measurably worse if I didn't do it (besides mine lol).

IMO it is kind of a problem with software in general. It is getting me down honestly; I could use some advice.
> "Group repositories together using Organizations"

I've done this in the past. But then decided GitLab's ability to nest groups (i.e., have a hierarchy) made more sense. When I made the switch, GL had free private repos as well.

Sure GH is bigger. But GL was / is a better tool for my needs.
I'm a bit confused with why the prices in the Web store are so high. Is it the fact that it is open source driving the price up? Or is the Slovak manufacturer just faced with high manufacturing costs? Would getting seed studio's fusion pcb service to manufacture drive the prices down? Or Would getting China to manufacture this be considered immoral some how?
good to know for this non native speaker. thank you
I agree. Halo: CE was an absolute masterpiece.
It does, yes. Quite well. I have one of my displays at 1.5x scale.
Code Complexity in Introductory Programming Courses [pdf]
This would be amazing. M2:Durandal on my Performa 6400... good memories.
No video link.
The ironic thing is that your average JS toolbox has the power to sink a startup. You need to be able to iterate fast by utilizing the basics. When you're brand new and facing 30 competitors you're going to get rolled by the 2-man team that doesn't waste all their time burdening themselves with all this bullshit. Meanwhile the other 28 are probably busy reading these flowcharts, doing resume driven design, and speaking at low tier JS conferences.
Map of Night Trains in Europe, 2019
Back in my Microsoft days, I knew many co-workers who, within about three years of graduating and starting at Microsoft, were in a position to retire. Several of them professed to me that they believed that it was their hard work and skill that got them wealthy so young and not the situation they were lucky enough to find themselves in. Some said they thought that they could go out and do it again. A precious few did (one of them co-founded Valve so, he did) but I don't recall any of the others striking it rich twice.
This is dead simple and flexible, I love it! I thought maybe I could use it to do a self-initiated daily 'stand-up' for personal goals. Right now, you use explicit URLs for each day, is there anyway you could make this static for bookmarking the current day's questions? I'd like to make it my default page for new tabs, such that I don't forget to write.
I wish they'd take back the Myth franchise. :\
Actually not IO performance, but mostly CPU. Last time I tested (which admittedly was about a year ago), an AWS ES cluster was about 20% slower than a self-made cluster with the same instance types. Given that AWS ES clusters still cannot use C5 instances, which offer FAR better cost/$, the performance disparity today might be even larger.

I can also launch an Elasticsearch cluster myself in about 2 minutes via terraform, so 20 minutes is not super impressive.

That said I recognize Elasticsearch is actually quite a finicky beast to set up, and my setup only has to deal with the needs I have, and probably would be set up horribly for certain other people. I can see how a hosted system that has to deal with all the weird edge-cases of a few thousand customers would take longer to set things up.
I don't avoid anything I am telling you that I don't believe economy is a science.
I heard an (albeit unsubstantiated) rumor that Meg Whitman sold off exclusive use to memristors to a company that's just sitting on them rather than turning them into a product. Hence why the machine started to divorce itself from memristors, but then pretty quickly was canceled.
> That was made possible when I took a couple friends (who are salespeople) out for drinks to tell them what I was working on. Afterwards they both said they would try to think of people to refer me to.

Thomas deserves all the credit for building and selling his business, but the value of this point here is critical, in my mind. IMO key takeaways are (1) knowing lots of people helps a lot, and (2) asking for help/daring to talk about your project helps a lot.
Mostly it's business growth stalling with no clear plan to fix it.

If you don't have visibility into that, there are other warnings signs, like various spending cuts. No straight answers to questions about that stuff.

Not providing visibility into the business is also a warning sign, in my opinion.

I've also left companies when they started making pretty weird business bets that I dind't think would pan out.
Talk of dogs as home defense always makes me think of this reddit thread: https://old.reddit.com/r/IAmA/comments/eewou/iama_retired_ca...
According to Crytek, it should be. Their engine license[0] is, if I am reading it correctly, similar in this respect.

> By doing so, you, the Licensee, agree to all terms and conditions of this Agreement or in the accompanying documentation. You should read this Agreement carefully before the Start Date. If you do not agree with the terms and conditions set forth in this Agreement you are not authorized to use the CRYENGINE.

> You agree to check www.cryengine.com periodically for new information and terms that govern your use of CRYENGINE. Crytek may modify this Agreement at any time. Crytek will inform you about revisions to this Agreement by email and/or by a notice on our home page and/or during log in. Revisions to terms affecting existing CRYENGINE shall be effective thirty (30) days after posting at www.cryengine.com If you do not agree with the new terms your only remedy is to stop using CRYENGINE.

...

> If your register your Game later than June 30, 2018 then this current Agreement shall apply (no matter which CRYENGINE version you use);

...

[0] https://github.com/CRYTEK/CRYENGINE/blob/release/LICENSE.md
One thing to look out for is that Swift Arrays aren’t really arrays. https://www.raywenderlich.com/1172-collection-data-structure...:

”1. Accessing any value at a particular index in an array is at worst O(log n), but should usually be O(1).

2. Searching for an object at an unknown index is at worst O(n (log n)), but will generally be O(n).

3. Inserting or deleting an object is at worst O(n (log n)) but will often be O(1).
These guarantees subtly deviate from the simple “ideal” array that you might expect from a computer science textbook or the C language, where an array is always a sequence of items laid out contiguously in memory”

If you want a more traditional data structure, use ContiguousArray, which is an array. https://developer.apple.com/documentation/swift/contiguousar...:

”The ContiguousArray type is a specialized array that always stores its elements in a contiguous region of memory. This contrasts with Array, which can store its elements in either a contiguous region of memory or an NSArray instance if its Element type is a class or @objc protocol”
I'd think that the NetEase investment gave them the confidence boost they needed to try out on their own and self-publish in most of the world. As with every non-Chinese game company the question is how they can get a piece of the Chinese market, and now Bungie has their answer.
My experience is from early 2013. I guess that is 6 years ago now :) Glad to hear things have improved a bit.
Blow to low carb diet as landmark study finds high fibre cuts heart disease risk
Fun fact: Russian word for the corresponding chess piece is 'ladia' which is a big boat.
About 10 feet of walkway ;)
This is a common problem I see in arguments with progressives. You are considering the failure to reach an ideal state as equivalent to zero progress, and attacking anyone who acknowledges incremental wins as undermining the cause.

> Close, but increasing economic disparity hurts underrepresented groups _most_.

Yes, so, you should celebrating that you and are in agreement that increasing economic disparity is bad.

> And, as it's been said, what we have made is only generously defined as progress

It is progress in any and all possible definitions. Going from "black people are legally considered property" to "a black person is the President of the United States of America" in less than 200 years sounds like a hell of a lot of progress to me.

> and most vehemently by those who seek to halt what little progress we've made as "sufficient".

Nowhere does anyone claim it is "sufficient". You are painting anyone who's not as idealistically pure as you as an enemy. That's not an effective strategy for gaining support or furthering your cause. It's a mixture of defeatism, elitism, alienation, and sanctimony.

This is something people on the right actually do really well. They are always celebrating their success and building each other up. Reading political news, I often feel like no one can tear down a Democrat quite like another Democrat. Where is the teamwork? Why don't we let our opponents attack us instead of doing their job for them?

> If you stick a knife in my back nine inches and pull it out six inches, there's no progress. If you pull it all the way out that's not progress.

Here's the full quote:

If you stick a knife in my back nine inches and pull it out six inches, there's no progress. If you pull it all the way out that's not progress. Progress is healing the wound that the blow made. And they haven't even pulled the knife out much less heal the wound. They won't even admit the knife is there.

Call me crazy, but I'm not aware of any strategy for healing a wound that doesn't involve removing the knife first.
I'm curious whether the declining fertility rates are related to people feeling their lives being pointless.
> I think by the time the scientists were able to detect global warming/climate change it was already too late to fix it.

Technologically, that's probably not true. Thatcher, for example raised alarms in the political/public sphere based on advice from government scientists in the late '80's IIRC. A lot could have been done in the last 30 years.

Politically/sociologically though, you're probably right. Views on economic growth, the nature of the good life for humans, the relationship between the real ('nature') and virtual ('economy') worlds, public and private goods, etc, had all become sclerotic & fixed as invisible myths by that time.
Millions of people enjoy those games, and it's not like them existing is harming anyone.
I don't understand why you don't think gendered perspectives regarding disarmament discussions are useful. Feminism has a long and entrenched history within peace and conflict studies and international relations, and its insights are often useful, particularly with respect to things like disarmament and post-conflict peacekeeping.
Fifa, CoD, Assassin's Creed, Mario, ect .. without those games it wouldn't be possible to finance other titles.

I don't understand what the problem is, many people enjoy those games, no one forces you to buy them and the indie scene is very active.
You can also "wash" physical bank notes but that in no way helps you launder the money, you still need a plausible explanation on how it is in your possession when The Man comes asking.
As with anything, there are tradeoffs.

A dozen is too short to really make a difference, but one thing that can be done at the service management layer without abandoning restart entirely is a delayed restart, or exponential backoff.

You could also imagine a per-service option for auto restart. Paranoid organizations with plenty of on-call engineers could disable auto-restart, if they were convinced the engineers wouldn't just rig up their own auto-restart to avoid the call.
"The problem isn't them eventually getting paid, the problem is them lacking money in their pockets right now to pay the bills they need to pay right now."

That's the comment I was replying to. If they need money to pay their bills they can get a 0% loan for their missed paychecks.

There's obviously reasons to be pissed about the shutdown.
Leveraging Rust types for modular specification and verification
Some guy called Ilan Schnell wrote a python code generator which uses the very same algorithm, and comes with language templates for Python, C and C++ (and is easy to expand to others), and a dot file generator so you can visualize the graph:

http://ilan.schnell-web.net/prog/perfect-hash/

He also has a superb illustrated explanation of the algorithm, a unique property of which is you get to choose the hash values:

http://ilan.schnell-web.net/prog/perfect-hash/algo.html

I've been using it for years.
Indeed but when you change your ISP you are generally completely disconnected from them. Changing your search engine is just the first in a lengthy series of steps required to separate yourself from Google's data harvesting capabilities. This is why it's reasonable to declare them a monopoly.

Taking just Google Analytics as an example. A quick search [1] indicated that, as of 2015, around 6,950 of the top 10,000 sites by traffic use it, with 546,000 of the top million using it. I'd expect those numbers have only increased. And their analytics service is just one branch of their extremely long reach outside of their search engine. You can get away from Google search, but getting away from Google is an entirely different issue.

[1] - https://marketingland.com/as-google-analytics-turns-10-we-as...
That seems like a good comparison. I'll add you could easily do systems programming in Modula-3 with SPIN OS using it. It also had a standard library with some formal verification of some properties. That it was easy to do systems programming is the big difference.

That said, Go follows the Wirth tradition most among the popular languages. People are learning it fast, coding stuff fast, and the apps are safer. Definitely a success. :)
Stupid question, how could you possibly automate lead generation? For that matter, how do you do it manually? Search for potential customers and read up about their business?
Except when the recipient forwards it on to his buddies and the picture then makes it into the Internet.
As a learner of both I have found French speakers to be far less forgiving of mistakes in gender, probably because it’s unavoidable. In mandarin you can use a catch all counting word and people still understand. In French it seems to really confuse speakers when you mess up gender.
Woah, I hadn't heard of that game before. It looks like a cross between Ultima Underworld and DOOM.
Just like 6 months ago. I won't bother typing up my thoughts again and instead just copy/paste what I wrote before: https://news.ycombinator.com/item?id=17416804

> You should seriously consider [not carrying a cell phone] once more.

>

> These carriers will use the narrowest possible interpretation of their statements. Historical

> location data appears to be fair game, and perhaps they'll just launch their own competing

> service so they aren't providing anything to a third party. These carriers all constantly

> record your location data and see it as another potential source of revenue. The law (in the

> US) does not prevent them from trading it, sharing it, selling it, targeting advertising

> using it, etc.

>

> They got caught with their hands in the cookie jar this time and are pretending to be really

> sorry about it so that the law stays that way, and they can go back to stealing cookies once

> this all dies down a bit. Don't for a second think that this means your location data will

> not be used against you in order for the carrier to make a quick buck.
Did they buy Device Protection via Square Trade?
> "On 15 January, they are set to update the World Magnetic Model, which describes the planet’s magnetic field and underlies all modern navigation, from the systems that steer ships at sea to Google Maps on smartphones."

Boggles the mind to think that Mother Nature is the foundation for such significant technology.

If only the Twilight Zone was still around to do an episode on the magnetic north suddenly going MIA. It has gone south (literally) a couple times I believe.
Good riddance; my exposure to Chariot was mostly of them blocking the Golden Gate Transit commuter bus pickup zones.
America desperately needs fiber internet, and the tech giants won’t save us
I never played marathon. Halo was amazing. I have no problems with the versions I played (1-3). Maybe Microsoft became a bad steward?
You are looking for San Francisco
That remind me, some years ago, I’d created a pull request for redis to use perfect hashing with gperf to parse commands. IIRC, the author turned it down because he was wary of adding the build time dependency on gperf.
Systemd's insistence to gobble up core dumps is one of my favorite misfeatures of that thing. I lost many an interesting (large) dump because they wouldn't be logged in the journal and not be written to file as expected. Luckily this can be disabled (until the next system update resets the syscfg variable again). I don't even get what problem this "feature" is supposed to solve.
Thanks for pointing this out. Seems right!
* Access to the camera from your phone

A sane-default DNS configuration could get around this automatically. The default can be some managed thing like your-preferred-name.cameraservice.com and if you're particularly adventurous could be camera.yourdomain.com. IPv6 would greatly simplify the NAT complications here. A device that can double as a firewall or talk to one to auto configure would go a long way.

* The ability to talk to people near the camera

I don't see how the cloud is necessary for this other than slightly simplifying notification. Can't the box at your house just shoot off a text message with a link? A centralized notification service could be used here that contains only a message along the lines of "there is activity at your camera" and the phone app can initiate the stream directly.

* The "people detection" image classification stuff

How hard is this really? Once the model/algorithm is in place the actual computation is easy right? Do they really have to run in the cloud?

* The ability to highlight a range of video and get a shareable link for it

This can be done with either a share-to-youtube link for videos you don't mind making public or simply direct links to your device for small audiences.
This Cornell gitbook is creative commons licensed and teaches both functional programming concepts and OCaml datastructures

wget -mkEpnp http://www.cs.cornell.edu/courses/cs3110/2018fa/textbook/

Plus this talk https://www.youtube.com/watch?v=DM2hEBwEWPc Effective ML is interesting, shows how to better write ML family programs so other people can read them, and making illegal states unrepresentable where he talks through splicing up interfaces to make them more robust by taking advantage of the type system.
I don't know about that. I would say most people know that the anti-vaccine research was rescinded. And especially if you search for info you are more likely to read about the fact that it was wrong than not. If the impact is large enough there will be a maybe-not-equal, but opposite reaction.
Most of those arguments were made when China was 3rd world, it’ll get harder to sell that each passing year. Also that’s a great argument to simplify English as well, but few seem thrilled about that idea.
Note that child rape is not a required part of the definition of child porn.

It could be a teen, posing provocatively, taking a selfie. Maybe they are 17. Maybe they feel the photo will promote a pop star career, or that it could be sold to pay for college. Maybe they just want it for personal reasons, to have 40 years later.
Can you expand on "knowing how to work with the GC" in Unity? I'm a Unity dev and rarely touch GC other than keeping mindful of the work I'm giving it by size/quantity of objects in my scene/making sure objects are dereferenced/can be collected.
Why don't you give roaccutane a go? It did miracles for me.
It was a way to increase sales of the expansion that came out only about a month before that.
In many states, the possession of child pornography is absolutely a strict liability offence.

For instance: https://kellerlawoffices.com/child-pornography-accidental-po...
I sure am glad my Mom didn't abort ME
Rook is a great operator for Kubernetes. We've been using it in our enterprise Kubernetes distribution for a while now and haven't had any problems with it. Ceph is a complex problem, and Rook manages it flawlessly for us.

It's great that when someone wants to have shared storage or they want to have an object store (we only deploy it as block store), the app developer can include K8s YAML to provision block storage or shared storage.
Understanding how hosting affects your SEO ranking
Your "more descriptive" headline was misleading; floss was only one of four itemized factors, the more important of which was coatings on food containers.