skysight-inc/HackerNews huggingface dataset:
Not really. There are disclosure rules for paid advertisements. People can express whatever they want through a bot, as long as they also make it clear that this expression is being delivered by a bot.
I'd probably pick Cap'n Proto or Flat Buffers if speed were paramount, in a grass is greener sort of way. I haven't used either of those technologies, though, just read about them. I'm also cool with plain JSON, which is beautiful from an ease-of-getting-started and universality perspective. I also think GraphQL is super compelling, and there's something to be said for records-as-in-SQL.

Mainly, I just think that interchange formats should be boring, simple, and ideally not incredibly slow. Protocol buffers at least meets those bars, even if it doesn't meet the consistency bar that the article desires. The whole "stop being a hipster and just use X" meme comes to mind. Probably realistically X is JSON in this day and age.
One thing that puzzles me is that many people who complain about parenthesis are perfectly willing to deal with strange and inconvenient delimiter characters, such as semicolons and commas.
Dude, _nobody_ cares about the legality of it. We're looking at it from the market perspective. And in the market perspective Apple can do a lot of things to prevent this rather than whine about the obvious results of its policy.

As a trillion-dollar company, I couldn't give less of a shit about its victimhood.
And then you take your experience, connections and expertise to leave and start your own company where none of this happens.

But is that what we see in real life?

I don't have data or sources at hand, but I'd bet top dollar that F-M ratio among employees is much more lopsided in male favor among founders[0].

[0] Not using the word CEO, because that can be appointed for somewhat arbitrary reasons.
Can we get access to more metadata in the lite api? Asking for a friend O:)
One thing to note is that borrowing in Rust is more powerful than escape analysis can ever be in other languages, because in Rust it's in the type system and therefore works well with separate compilation and higher-order functions.

To give an example, suppose we have the following:

struct A { ... }

fn g(a: &A);

fn f() {
g(&A { ... });
}

And let's say g() is defined in another crate and separately compiled. In Rust, we can safely allocate the instance A in f()'s stack, because we know via the type system that that instance can never escape. But compare the equivalent example in, say, pseudo-Java:

class A { ... }

class G {
public static void g(A a);
}

class F {
public static void f() {
G.g(new A());
}
}

Can we promote A to the stack? Well, it depends. If the compiler can see the source of G.g and prove that A never escapes, then it can. Otherwise, it has to conservatively assume that A could escape.

(Incidentally, this sort of thing is one of the main reasons why the JVM usually uses a JIT: because Java allows you to replace the bodies of classes at runtime via classloaders, you really want to be able to do these kinds of interprocedural optimizations based on the information you know at the time, but reserve the right to back them out if the class bodies change. Only a JIT is able to do this.)

This gets even more difficult when you get to higher-order functions:

class A { ... }

interface G {
void g(A a);
}

class F {
public static void f(G g) {
g.g(new A());
}
}

Can we allocate A on the stack? Well, it depends on whether any possible instance of G could possibly have its argument escape. Java's HotSpot compiler is quite clever here and can actually make assumptions based on the classes that are currently loaded (as a side effect of devirtualization). But Go, for example, will always allocate that A instance on the heap, as far as I'm aware.

This is not a problem for Rust, because the type system ensures that A can always be allocated on the stack in the analogous code:

struct A { ... }

trait G {
fn g(&self, a: &A);
}

fn f(g: Box<dyn G>) {
g.g(&A { ... });
}

Because the signature of the method G.g() ensures that every implementer must not let the instance of A escape, the compiler can soundly place A on the stack. In this way, lifting the escaping behavior of values into the type system is a very powerful technique that allows Rust to go beyond what typical escape analysis can do.
https://en.wikipedia.org/wiki/Retrocomputing

Why do auto enthusiasts work on classic cars?
Visualize JavaScript Execution Context, Hoisting, Closures, and Scopes
Take part in the OpenGift and PhiltechInitiative online-hackathon and win $1,500
Yeah, but then the last step is to "copy & paste the results" to .. https://github.com/contact
It feels like the title abuses the word "garbage collector", which implies automatic and dynamic. That sounds like "Bike is a human-powered motorcycle".

However the article is well-written and very informative. Just need to skip the title :-)
Yeah, but: http://www.nydailynews.com/new-york/eating-driving-80-car-ac...

But then on the other hand: http://www.governing.com/topics/transportation-infrastructur...
> Historically, there has been two major forms of GC: reference counting, and tracing. The argument happens because, with the rise of tracing garbage collectors in many popular programming languages, for many programmers, “garbage collection” is synonymous with “tracing garbage collection.” For this reason, I’ve been coming around to the term “automatic memory management”, as it doesn’t carry this baggage.

It's fairly confusing to refer to this as automatic memory management. That term already exists to refer to stack variables getting allocated and initialized in C/C++.
A few things.
- A habit of reading: Took a while but, whenever I am traveling, I am reading stuff. Books, articles you name it. But strictly no social media. BTW, Pocket is a great app for this.
- Learning vim: Writing code faster has really paid off. I have reached a point where I don't remember the vim key bindings. But my hand does. So things are pretty fast.
- Learning emacs org mode: All the writing and planning activities have become much simpler. Highly recommend it.
How many published opinions are no longer held?
Retrocomputing is a hobby for some people. Maybe not you, but some people, myself included, enjoy reliving their youth by messing around with these ancient artifacts...
"What do you like least about HN?"
Db_password filetype:env
From the documentation:

> The daemon that runs in the background and is responsible for controlling the services is shepherd, while the user interface tool is called herd: it’s the command that allows you to actually herd your daemons

It seems strange the the herd controls the shepherd, but I guess it fits in well with GNU's user empowerment philosophy.

I'm very much a parenthesis-ophobe, but things like init configuration is a niche guile seems to be perfect for. It's terse enough to replace ini's, it's complex enough to provide structure like xml or json, it's an actual language so no one ends up writing their own and it's trivial to embed, like like lua.
Ask HN: What's the best privacy friendly Android email app?
I'm moving everything off Google as best as I can at the moment, switching to Fastmail, etc.

My biggest issue at the moment is finding a trustworthy app to use for my email (personal and work).

I've used Gmail forever and have come to love the interface and such on my phone.

I've tried K-9 and while it gets the job done it is extremely clunky and it really makes sorting through emails a chore in my opinion.

There are a few other options that are paid via the Google Play Store like Nine and CloudMail and such, but I don't know how legit these are and I don't want to be handing my emails + logins to some random third party.

Is there a better option than K9?

I'd love to use the Fastmail app as it is great, but I NEED offline support as I travel a lot and am out of service quite often.

Thanks!
That demo did look janky. Still promising in my opinion.
What are the expectations for such actionable economic models?

To improve predictability or to better the management of resources in human societies?

Indirectly, it's a question about the optimization goal that the mainstream models are trying to achieve.
It wasn't; submissions can't be downvoted. It's sitting at +32 as I write this.
The diploma is not recognized by the French gov or any European institution.
At this time, finishing your 3 years at 42 grants you a line in your resume but that's pretty much it.
you wont be able to claim any type of degree with it
You've also been here three times as long as Alan Kay. You may well have contributed more here than he has.
>automated forms of social control are developed

Legalisation of drugs fits in here IMO, it's a salve for the people to keep them from mounting rebellions. Making hard drugs cheap and widely available probably is a relatively effective way of killing off a proportion of your poorest citizens without raising too great an alarm.

Things like VR could placate the people too, give them a fake "luxury existence" and they're less likely to rebel.
it's not just allowed but encouraged to downvote things that you simply disagree with

One thing I hate most is people who don't actually read the guidelines in the first place.
It’s not really hyperbole; I don’t find Rust particularly painful.

Heck, I used to say “rust will never be a good choice for web apps” but by now I’ve written several. Times change!
I'm not so sure, the NYC attacks didn't offer particular criminal opportunity. As for the photo, a mass stoicly crossing a bridge isn't the best supporting evidence. Cause trouble and a mob sets on you.
This seems to assume that performance evaluation is itself free from bias.
10$ for Saudis, 25$ for shell, 50$ from the Artic sea.
Mirrors on EUV machines are already the type that exceeds reflectivity of all mirrors ever produced.

That's why you have to build fabs around a multi-megawatt laser source.

The only known hope going forward are photonic crystal mirrors
Solar and wind are fine for residential, which is 13% of global consumption.

Transportation and industry, with their 75% , would need some clean source of energy, for which calm nights are not a problem, crony capitalism or not.
Google Home Hub–Under the hood, it’s nothing like other Google smart displays
I always thought of the `herd` command as a verb (i.e. what do shepherds do? they `herd` things [well, sheep, I suppose]).
Hmm, what was lost in revising that comment was the sentence noting that I have swrifs on every device I view HN on, so I was wondering what you were viewing it on. It seems odd that it would change that much between devices when explicitly defined with fallbacks, which is why it's an odd config.
For what it's worth, I like them primarily because I don't mind using proto-generated objects as pieces passed around the stack (at least at higher levels of the stack). I lose consistency if I can do that for some objects, but am required to convert objects if they would need a mapping type.

It follows sorta the same reason that Clojure became a fairly widely used lisp – mapping types are extremely common in real world programs. Having them supported first class makes a lot of common tasks quicker to get through.
Ajit Pai’s 5G plans make it harder for small ISPs to deploy broadband
Life on China's Blacklist
> A prediction would not be able to take into account this domain knowledge and would be completely worthless.

This x100.

I do this all the time with Lyft drivers. "No, please don't listen to Google Maps for this. The route it is trying to take you on goes from totally open to totally clogged over the span of 6:45AM to 7:00AM. Trust me, the route I am having you take me on will be faster by the time we get there."

People are way more clever than you think.
Does Amazon give 9 months of parental leave, or are you saying women employees are disadvantaged for their entire pregnancy?
"Disagree" could mean "hold a different ethical, esthetic or political view" or "find something to have serious factual issues".
iirc, OpenWRT also uses password-less root access via ssh by default and indeed, one might find these kind of configs in provisioning setups quite often. What are the options these days besides default user/pw? The (Plastic)Router from my ISP has this sticker on the back with a custom default pw for user access. Always wondered how this works.. probably somehow derived from MAC addresses and/or other factors.
Will Hurricane Michael make Florida’s red tide better or worse?
There are few ICOs that have even resulted in working cryptocurrency things. I for one am absolutely shocked by the hideously poor quality of the stuff ICOs were used to fund. Excluding obvious scams the remainder seem to be solutions in search of a problem or meandering boil the ocean pipe dreams. None seem well executed, and most dont seem to have shipped at all.
You'll have to excuse HN Guy that assumes that every project on GitHub is done to try and take over the world and not because, you know, learning is fun. So keep on doing weird things with your weird and awesome language.
You are missing when you have a middle layer. Message comes in at v3 and hits a layer that only knows v1 then gets passed to a layer that is at v4.

I'd wager most places don't have that many layers. But, if you are embracing microservices, you'll find yourself here fairly fast.
You're right, energy resources are limitless so there's no possibility a system based on ever growing consumption could possibly fail. /s
See also, https://news.ycombinator.com/item?id=18075755
> the only thing those people are being deprived of is a product that wouldn't exist at all

They are deprived of interacting with the front lines of modern culture.

I think people have no right to view a film that has hidden in a box since creation. Once a film enters popular culture, I think the argument that the creator should continue to hold complete dictatorial control over it is questionable.
I suspect that it's not timezones. I think some people, when they see posts that they feel are unjustly downvoted, vote them up just to cancel a downvote, even if they wouldn't have upvoted the post otherwise.
An eclipse gave researchers an inside look at how bees respond to light
It depends on what you mean by “smuggling.” This implies something bad; I don’t think this pattern is inherently bad. It’s just different. It’s another example of moving a compile-time check to a runtime check, and depending on what you’re doing, can have better cache locality and better performance.
1. The sizes of the voting buttons and the expand/collapse links are terrible.

This varies a lot by browser. With one OS/browser combination (Opera Beta on Android?), it's ridiculously small.
non-ruster question: does rust let you easily define a new type to use for the index,
so you're not just using ints everywhere (with all the lack of type safety and clarity that implies)?
Gender. I am more concerned about race and ethnic background. Why is this never addressed?
Large portions of the world don't have these regulations and seems to be doing just fine. Japan, Korea, Taiwan, Singapore to name a few are full of food stands preparing food at the stand.
No, by the text of that same link you provided: "... origin of this fallacy is probably related to the fact that data must be submitted in the XPT "transport format" (which was originally created by SAS)." While that post goes on to say, "This [XPT] data format is now an open standard." That is somewhat disingenuous. The XPT format requires IBM Mainframe floats and other wierdness. It's not always that easy to write XPT.
“Hofmann also learned how to manufacture inks using the same components and methods used by contemporary artisans.”

https://www.ioba.org/standard/2002/11/genuine-fakes-mark-hof...
Which part sounds illegal to you?
Kind of but not really. You still can't access an undeclared element, and you still can't take a mutable and an immutable reference to an element by index. The borrow checker only cares about memory safety, and index accessors are implemented in a memory safe manner (whether that's panic!ing or returning an Option<>). If you want… umm… "data safety" (I'll call it for now), so you can't use an index to access an element that you didn't intend to access because stuff got shifted around for instance, then generational indexes will solve that issue for you.

And to clarify something that's probably obvious. A direct pointer to a vector element could easily end up becoming invalid when the vector has to be copied somewhere else for it to grow or if the element gets deleted in another thread, so you can't just easily use pointers to vector (or array) elements in Rust.
> GraphQL has offered you a way to avoid writing:

> axios.get("/posts?limit=10&filter[0]=prop&filter[1]=otherProp&fetchEmbeddedEntities[0]=thing")

Is that right? I've never used GraphQL, but I thought the main advantage was not that the client didn't have to write that, but that the server didn't have to write the handling code for the joins to the embedded entity (to pick one example), or any of the dozens of other possible joins someone might want to do for any given relation.
It's highly probable that the commenter to which you have responded chose their wording precisely because of how correct your point is.
A quick look at a sample .assembly file [0], make it look like a very different language from TypeScript.

That said, the familiar tooling, editor support, are wins over other WASM options.

[0] https://github.com/AssemblyScript/assemblyscript/blob/master...
Better info: https://www.ioba.org/standard/2002/11/genuine-fakes-mark-hof...
Just need to change drug regulations. Make solid frameworks for doctors/patients to evaluate risks of untested or partially tested drugs, and let them make their own decisions.
Should have gone with .wtf. WebAssembly Text Format.
Thoughts about TimeFit?
Hi guys, we are building an app - TimeFit - that addresses the issue of decreasing productivity and wellbeing at work. The short description of what we do is: During a break from work the app will give you advice on what physical exercises you should do, what exercises for eyes and what snacks to eat.
We have called a break during which you try to do the recommended activities a Power Break as it enhances your productivity and wellbeing. You don't need to do a Power Break every time you take a break but three or four times a day will give you a great boost.

Please check our page for designs: https://www.timefit.mobi

Let me know what you guys think about this idea. Would you try it? We will very much appreciate any feedback :)
just a suggestion but in downtown San Diego, the City blocks off a street for a week and invites a dozen or so food trucks to come park there. They make an event out of it and staff it appropriately with extra clean-up and such. Huge, huge hit with the folks who work in the buildings nearby.

Maybe get a few of the truck owners to band together and ask Ann Arbor to try out something like that.
I got bad news for you but almost all programming is just moving bytes from one place to another, and occasionally multiplying, adding, subtracting, or dividing some of them. ;)
The Mercury compiler is written in Mercury, which is syntactically derived from Prolog. The original compiler was bootsrapped by stripping the non-Prolog parts from the code and executing it on NU-Prolog. The compiler first successfully compiled itself in 1995, after which NU-Prolog was no longer needed.

And just to tie this back to the original topic, Leon Sterling (first author of The Art of Prolog) was the head of the Department of Computer Science at the University of Melbourne when the development of Mercury began there.
From crossbeam docs [1]: "Programming languages that come with garbage collectors solve this problem trivially."

[1]: https://docs.rs/crossbeam-epoch/0.6.0/crossbeam_epoch/
I'm very much the same. I don't have the time or motivation to go full hardcore. Joining a gym, team, etc. Just can't do it. But I needed to do something. When my son was born I started dancing with him in my arms to this song [1]. I was so full of joy and that song is pure joy. I then added a song or two more until I have this completely unchoreographed 10-15 minutes of dancing. I do 3 or 4 times a week now. My son (now 20 months old) stands with me and dances like a complete goofball.

I have no clue if I'm doing it right or am going to get any meaningful exercise. But it makes me happy and has brought me a wonderful routine.

[1]: https://www.youtube.com/watch?v=ru0K8uYEZWw
Personally, I hate the number of people pushing borderline-paranoid conspiracy theory drivel here.
The same could be said about your comment as this sort of dialogue, or rather lack of, is what perpetuates stagnation. We’d still be writing assembly if weren’t for optimism by engineers.

I think if anything we need loftier goals and more optimism to solve problems.

/shrug
You can really tell when somebody gets 100% of their news from HN... They don’t do that anymore, partially due to that 5 year old article (which was reposted on HN yesterday?...)
I dislike the poor handling of asterisks in comments. How can I type the following identifier in-line in a regular paragraph (not code indent):

*eval-hook*

And this is written in a Lisp dialect, too!
My main observation is that the main players in this have very strange hair for people whose field of research is hair rendering...
Graphics Card Manufacturing Being Moved from China to Escape Import Tariffs
As is, say, bathing.
This was about three years back I think. The measurement was a rough estimate made by walking up to a 27 inch imac until the view port disappeared which was roughly the size of the 27 screen. Perhaps I was being generous.
I don't think I'm with you. A neural net cannot do this - picking apart male and female tokens requires a signal in the gradients that force the two classes apart. If there's no gradient, then something like weight decay will just zero out the weights for the "gender" feature, even if it's there to begin with. Confidence wouldn't enter in, because the feature is irrelevant to the loss function.

A class imbalance doesn't change that: if there's no gradient to follow, then the class in question will be strictly ignored unless you've somehow forced the model to pay attention to it in the architecture (which is possible, but would take some specific effort).

What I'm suggesting is that it's likely that they did (perhaps accidentally?) let a loss gradient between the classes slip into their data, because they had a whole bunch of female resumes that were from people not in tech. That would explain the difference, whereas at least with NNs, simply having imbalanced classes would not.
Well, good for you.
Remacs’s README is really well written. More projects should try this hard to sell their ideas. This totally beats the GNU Emacs website at selling me on why I should use Emacs.
U.S. Charges Alleged Chinese Government Spy with Stealing U.S. Trade Secrets
low-quality stuff makes the front-page and a lot of high-quality stuff from new gets missed

... which is a byproduct of how many dupes get submitted. Many submissions get pushed off the Newest page so quickly because so many dupe and crap submissions push them off.

People who don't look beyond the front pages (news or newest) are missing a lot.
If you believe the Wikipedia article to be inferior you can improve it.
How are these people still in business? I mean how can this make enough money to stay afloat?