skysight-inc/HackerNews huggingface dataset:
I’m not convinced that ESL families is the main difficulty facing Hispanic children. I’ll accept that there are disadvantages to Hispanics but having ESL parents seems similar to those faced by almost any other child of immigrants. Perhaps one could argue that due to the visa system, non-Hispanic parents of Americans tend to have higher earning potential?

I have no idea whether this is true or not
FWIW Rust doesn't consider leaking an object to be unsafe. In fact, there's a std::mem::forget() function that can be used to do precisely this. Before Rust 1.0 it was marked `unsafe`, but it was determined that the existence of Rc allowed for creating retain cycles in safe Rust, and "fixing" this was prohibitively complicated, and since it was possible to leak values in safe rust, std::mem::forget() was therefore determined to not be unsafe. This was also when "leaking values isn't a violation of safety" was turned into an actual principle, as opposed to just a hunch that a bunch of people had, and the one API that relied on leaking being unsafe was removed (this was the API for scoped threads, which was marked as unstable right before 1.0 came out, and subsequently an alternative stable safe API for doing scoped threads was hashed out in the crates ecosystem).
New York (City) as well, IIRC. Street-side cooking is more akin to heating up already prepared food. San Francisco, too. While it seemingly defeats the purpose, the flip side of the argument is that it is easier to ensure base levels of hygiene.

The article itself, btw, is a pretty nifty use of PostGIS viz.

Edit: Originally had all of California included but it was pointed out that my knowledge was limited to San Francisco as LA does not have the same requirements.
I don't pirate music or movies so it's not "a self-serving rationalization".

It's an argument that copyright law serves the interests of a few at the expense of the many.

And I think you've missed the point about smaller bands and labels. They struggle whether they sign with a big label or go independent because only superstars and big corporations make big money from music. Many fans know this and are generous to support their favorite smaller bands.
I don't know the credibility of this Reddit post, but it might be of interest: https://www.reddit.com/r/learnprogramming/comments/91bjlr/sc...
Correct, both of those are possible to represent as is though. Each oneof just requires and extra proto to wrap it.

So you have

repeated OneaofWrapper {
oneof {
Foo
Bar
}
}

Or what I did in my previous comment.
Honestly this not that odd. If you have local users with no password (not normal), and ssh exposed, you prob have bigger issues. Do agree tho, this is a stupid default and surprising it got past any sort of system hardening checklist.
Yea for consumers these days, the physical size really doesn't matter much at all. ICs are small enough, nobody's looking forward to 5nm because of the physical size. What matters is cost and electric power usage.
> But it's not an effective indicator of evaluating a state taxpayer's contribution to the quality of students coming out of the state's schools -- students who presumably perpetuate the results of the quality of their education in their life, producing a myriad of poorly-understood impacts on the state as they do so.

The opposite is true: the disaggregated ranking is the only good measure of "a state taxpayer's contribution" because the taxpayer has little to do with e.g. the fact that Hispanic students face additional challenges because they're from an ESL household.

What you're really saying is that the composite metric is a better measure of the average "quality of students coming out of the state's schools," which reduces to the assertion that it's better to have a school system full of privileged white kids than minority kids who face challenges. I don't think we should be ranking school systems that way.
the json.NewDecoder stuff does still trigger unmarshals of the types in the struct and such: i.e.

package main

import (
"bytes"
"encoding/json"
"errors"
"fmt"
)

func main() {
fmt.Println("Hello, playground")
var p Post
err := json.Unmarshal([]byte(`{"title": "test"}`), &p)
fmt.Println(err, p)
err = json.Unmarshal([]byte(`{"title2": "test"}`), &p)
fmt.Println(err, p)
err = json.Unmarshal([]byte(`{}`), &p)
fmt.Println(err, p)
err = json.Unmarshal([]byte(`{"title": "long test"}`), &p)
fmt.Println(err, p)
}

type Post struct {
Title ShortTitle `json:"title"`
}

func (v *Post) UnmarshalJSON(b []byte) error {
dec := json.NewDecoder(bytes.NewReader(b))
required := map[string]struct{}{
"title": struct{}{},
}
tok, err := dec.Token()
if err != nil {
return err
}
if d, ok := tok.(json.Delim); !ok || d != '{' {
return errors.New("Expected object")
}
for {
tok, err := dec.Token()
if err != nil {
return err
}
if d, ok := tok.(json.Delim); ok && d == '}' {
break
}
switch tok {
case "title":
delete(required, "title")
err := dec.Decode(&v.Title)
if err != nil {
return err
}
default:
(*v) = Post{}
return errors.New(fmt.Sprintf("Unexpected field %s", tok))
}
}

if len(required) > 0 {
(*v) = Post{}
return errors.New(fmt.Sprintf("Missing %v required fields", len(required)))
}
return nil
}

type ShortTitle string

func (st *ShortTitle) UnmarshalJSON(b []byte) error {
var tmpst string
err := json.Unmarshal(b, &tmpst)
if err != nil {
return err
}
if len(tmpst) > 6 {
return errors.New("Title too long!")
}
*st = ShortTitle(tmpst)
return nil
}
"Well the 13th amendment does deny you a right to sell yourself into slavery, so you're not substantiating your claim that these laws don't infringe on your right to privacy and free contract."

I'm saying your complaint is like that. Yes, it does prevent you from doing that. Nobody cares, however. Just like you are trying to complain that you are prevented from buying a security where you get absolutely no insight, knowledge, or reporting whatsoever. I just cannot take that complaint seriously at all, and any legitimate investment doesn't either.
Actually sad since manual laborers are wonderful robots. It's just that they get pricier ever since.

Things that make them less advantageous to robots are (e.g):

- the used up demographic dividend of China (with no real replacement in sight)

- western population decline

- western population aging

- west's much better off population, uninterested in manual labor (at least as mid/long term job)

- rising minimum wages

- rising costs of employment

- tightening immigration laws

etc.
Magic (YC W15) is hiring senior full stack engineers in SF
Magic (http://getmagic.com) is a Y Combinator-backed software company in San Francisco, CA that is building a hyper-intelligent, ubiquitous assistant available over SMS, email, chat apps, and other digital channels.

Magic was founded in 2015 by a team of software engineers with one simple premise: create a natural language interface to the complexity of the world, delivered by a combination of artificial intelligence and human expertise. We are hardcore developers at heart, we are highly iterative, and we are relentless. We are minimal and focused on writing code that really matters. We don't stop until we are done.

Our primary technologies right now are Node.js, Meteor, MongoDB, PostgreSQL, AWS, Docker, Ansible. Experience with these are very nice but not required. We believe in using the right tool for the job.

We are currently hiring for senior, mid-level, and junior engineering positions. This is a full-stack, generalist role for which you will be given a high degree of autonomy and will be expected to deploy impactful code to production in your first week. We're less concerned with your resume and more concerned with your ability to get real stuff done.

Come build the future of human-computer interaction with us.

Bonus points if you've got...

- Experience working with Node.js, Meteor, modern web application frameworks
- Experience with devops, the AWS suite, Docker, Ansible, Jenkins
- Experience within early-stage startups or human operations companies

Apply here: https://getmagic.com/engineering/apply/hn
If by "nice things" you mean salmonella and grease fires, then sure.

Not to defend Boulder, specifically, but when thinking about regulations it's really easy to tally up "all" of the costs and benefits without crediting them for the nonexistent costs of the bad things that didn't happen.
This Island Nation Has the Most Powerful Passport in the World
Looks like the title has been updated to

"Dow Drops 832 Points Because Everyone Is Afraid of Something"
Nothing about what you just posted couldn't be done with a normal RESTful endpoint with sufficient support for column-level filtering and embedded item filtering.

Your post is the perfect example of GraphQL is being over hyped. I absolutely get that there's a benefit to filtering at both these levels, and that the DSL cuts down on noise and gives you a way to "query" without thinking of web requests, but it's not a leap in thinking -- teams that have to deal with mobile environments have long been strapping on filtering options to endpoints to avoid sending unneeded bytes to mobile devices.

Yes -- GraphQL standardizes this stuff, but it does it in a way that is basically not compatible with anything else.

> The component knows what it needs to render, so it declares that.

??? The component doesn't know anything, components don't think. You're describing it as if you just gave the component a list of entities but you actually wrote a query DSL -- that's how the component "knows" -- you told it.

What GraphQL is doing for you here is:

- Enforcing consistent access patterns (which is how "posts" gets translated into the right URL)

- Ensuring "limit" is supported on the endpoint

- Ensuring horizontal filtering is supported

- Ensuring embedded entities get returned and they're filtered

This is not a paradigm shift. It's better, maybe, but that DSL will absolutely fail you at some point, when you try do a more dynamic query, and you'll have to drop back to writing code that looks a lot like life did before GraphQL.

> With TypeScript, you can get type-safety all the way from the backend to the frontend, which means your IDE (e.g. VS Code) can correctly autocomplete, say, "creator." and suggest "name". It's rather magical.

This is basically orthogonal... Write well typed javascript and your IDE is going to be able to help you out.

> Firebase-like data store with schemas and joins

You've lost me here. The excerpt you've posted looks even worse than SQL. At that point why not just send SQL directly to the backend (as long as you can get the permissions right and your DB is secure enough)?
Call me cynical but I found it amusing that no one points out the fact that engineering work is laborious and dry to say the least for most people. That's the reason why there are so few people who have other options, females, upper middle class people, people of means, in the scene.
There are so many lowish paid low status unsought for sectors where majority workers are male, say janitors in Universities, why I never see any discussions on that bias ?
The only thing I was thinking while (half-) reading this article is there's some fundamental misunderstanding about what protobuf is for.
1. As your other reply said, crossbeam is Rust's gold-standard for this.

2. Make the front-pointers be Rc's or Arc's, then use the downgrade() method to construct the back-pointers.

3. Array-based ring buffer instead, perhaps?

4. Like any refactoring, the compiler errors guide you to the places that you haven't yet changed.
Discussed here: https://news.ycombinator.com/item?id=18169087.
From starting a batch to where products are actually testable takes >3 months. "Risk production" means that the foundry says, "okay, we think everything is fine now, but we make no guarantees that it will work". Customers then have the option of purchasing super expensive wafer starts that might or might not work. You might luck out and have lots of great next-gen chips months before your competitors, or alternatively you might get the GF100 thing happen to you where you get five working chips out of each $10k wafer.
What's the difference between this and something like AssemblyScript?: https://github.com/AssemblyScript/assemblyscript

EDIT: I see that this project actually existed slightly before AssemblyScript. Still seems like two very similar projects.
I don't have enough familiarity with this sort of research to evaluate it quickly, but I was a little curious about the authors' backgrounds:

> Stan J. Liebowitz is the Ashbel Smith Professor of Economics at the Colloquium for the Advancement of Free Enterprise Education in the Jindal School of Management at the University of Texas at Dallas.

> Matthew L. Kelly is a research fellow at the Colloquium for the Advancement of Free Enterprise Education in the Jindal School of Management at the University of Texas at Dallas.

Here's another piece by them on net neutrality: https://www.insidesources.com/state-governments-drop-net-neu...

Here's the site for the "Colloquium for the Advancement of Free Enterprise Education": https://jindal.utdallas.edu/centers-of-excellence/capri/cafe...

Here's a press release about the founding of this entity, which includes some information on where the funding for it comes from: https://jindal.utdallas.edu/news/new-program-at-the-jindal-s...
The machine does not think about category theory. The machine thinks about numbers. It can add them together! The way the machine thinks about numbers has not meaningfully changed in 40+ years.
I believe it's slated to be a parking lot
> someone was thinking this perceptual speed difference might explain men being dominant in e-sports

And i was imagining it to be the other way around. A stronger focus in male youth on sport, games and other competitive activities might produce better reaction times. That, ofc, is just my first thought as armchair scientist without access to that work beyond the summary.

I just want society to let scientists actually figure out all the details before we use that knowledge to drive policy and not just use it in whatever way satisfies our internal desires.
I remember when I was doing my master's thesis for ASML in Eindhoven in Holland (their headquarters). They had a separate building on the campus just for the development of EUV, which was the next new thing. This was in 2011 and they had already been working on it for a couple of years. Happy to see that chip manufacturers are now using this technology for their production. It looks like the bet paid off!
I thought about not including this sentence. I don't think it expressed what I was trying to say properly. My personal experience has been that the arts often get the short end of the stick when it comes to budget, and that what is offered for facilities and supplies ends up lacking because it is not viewed as required. I was happy to see the University invest into these facilities, in part because the music department is something the school is known for locally. Tuition is an issue and consideration though. Historically tuition has been reasonable at Macewan, maybe this has changed though. In general tuition has been getting out of control, so I wouldn't be surprised if it was the case.
Thanks for the clarification, i missed that distinction at first.
Dot-Com Is Dot-Gone, and the Dream with It (2001)
Crossbeam makes lock-free data structures easier to write than in any other mainstream language I know of.

Regarding graphs, just use indices and vectors. It's often better to use indices for graph nodes anyway, for example in games, where an ECS design using IDs is generally preferable to direct references to objects.

For a while, I was kind of obsessed with showing that Rust could do doubly linked trees and graphs just as well as C++ could. I now realize that this was a mistake, and I made a big mess of a lot of code in the process. Having a single owner and using IDs for "secondary" references is often preferable even in languages that easily allow multiple strong references to objects. In the small, direct references and an OO style can be convenient, but in the large, you often want to break up your graph code into components and systems anyway, and it's kind of nice to have the language push you to front loading that kind of design.
Ask HN: Anyone Made a Full EV Humvee (HumEV?)
Anyone hear of a govt surplus M1114 turned into a civy EV?
Some of it has nothing to do with ML/AI, docker probably killed more Sysadmin jobs then all of ML combined.

Better tools allow us to do more, faster etc. Thing is amount of things software can do that it is not doing yet is absolutely immense and ML only opens more and more of it.

I think any actual reduction is so far in the future we have no concept of when that will happen and how.

I mean a am I huge proponent of self driving car.. when is that coming? When it works it will absolutely change economy as massive amount of people are now involved or depend on those that are.
It's not just due to the olympics.

There have been calls to move the fish market out of Tsukiji[1] for close to a decade at least. Advocates for the move have concerns about the aging facility and desire to re-purpose high-value real-estate.

The olympics are just the impetus that finally pushed it through. I agree about the market being an iconic facility and I have good memories there myself. Hopefully the new one will be similarly accessible to tourists and an upgrade for wholesalers.

[1] https://web.archive.org/web/20121018042745/https://www.japan...
I love uniqlo doubling down on tech.

One thing I found really interesting is that inside the labels are small rfid (I think?) chips. At the cashier, the person just folds them nicely, puts the pile of cloth on a metal pad and the system tells you how many items and how much it is. No manual code scanning!! The first time I noticed that I felt like a kid again discovering something magical.

The next step was to have person-less cashiers with the same system which works great too. So a completely autonomous store was just the next logical way to go.
htons, etc are very 1980s, and I’ll make a fairly strong claim: they should never be used in new code, with a single exception. The reason is that an int with network endianness simply should not exist. In other words, when someone sends you a four byte big-endian integer, they sent four bytes, not an int. You can turn it into an int by shifting each byte by the relevant amount and oring them together. And a modern compiler will generate good code.

The sole exception is legacy APIs like inet_aton() that actually require these nonsensical conversions.
RedHat is probably the least aggressive of the group patent wise given that the primarily support/innovate on top of F/OSS -- I actually considered making a note of that but didn't, and I should have.

I think they're basically along for the ride so they can be involved in anything that has to use Linux and exert their will on/network with /collaborate with others in OIN.
Same reason why most people don't want restaurants or businesses in their neighborhoods, and why zoning exists in the first place. The slight hit in convenience is usually acceptable so residential streets are free from noise, crowds, traffic, waste etc.
>I want to be quoted. I am angry and I am nervous and I hate what happened to the story.

If Bloomberg is honest, they should apologize. Will it happen? Not likely. They are deliberately misleading.

Misleading is a mathematically high order lie. i.e. a lie about another lie that decorates the other lie into a non-lie so it can gain the support from many believers even it's not correct. In contrast, a blatant lie is a first order lie which is very clear right or wrong. It's not defendable.

That's a big difference between US/Europa MSM and the propaganda from some totalitarian regimes as I observed. Most audiance seem to be not aware of the former , and they often blieve those who know both are brainwashed by later.
I tried your SQL in the demo, and it came out like this:

SELECT
field,
other_field
FROM
TABLE
WHERE
some_thing IN (
SELECT
id
FROM
other_table)
AND other_field IS NOT NULL

I'd have expected the last line to have one less indentation level...
Draft Proposed Frozen Realm API
Five ways Google Pixel 3 pushes the boundaries of computational photography
ahem Income inequality suggests otherwise.
> Downvoters either explain yourself or go fuck off.

Oh, please let's not do this.

https://news.ycombinator.com/newsguidelines.html
I think you're confusing a complete boil-off of the atmosphere with a slightly less extreme event that simply eliminates 90% of life on the planet, which has in fact happened before
I'm indifferent to her in any regard but it would be interesting to see if this gets more attention as we get closer to 2020. Seems fairly straight-forward that she was defending the right of a prosecutor to get away with fabricating evidence.
No, it’s a little bit like saying that Libya should be granted a root CA that is only accepted for .ly domains and only with appropriate CT records. Which actually seems quite reasonable to me.

Edit: Libya could create a bitly-like service and serve it up at bit.ly right now. What exactly would stop them?
> Just do an IPO

A token is virtually frictionless and costs nothing to setup or trade globally, dividends can be paid out directly to token owners.

An IPO is an incredibly lengthy, arduous process requiring a small army of lawyers and accountants simply to offer shares to a restricted subset of sophisticated investors in one country.
Automatic Transformation of XML Namespaces
I wouldn't want a Japanese passport for a variety of reasons but Singaporean, German and French good-to-go IMHO. A friend of mine wants to move from Zurich to Singapore and another friend has a Singaporean/American dual-citizen son.
The park here permits a concession trailer (and multiple food trucks during events).

I expect in Ann Arbor that some of the motivation is street parking, of which there is not nearly enough in areas with student houses. And then additionally the disruption of traffic on the narrow residential streets.

The parcels that can have food trucks are near restaurants, so I think they aren't the issue.
Real estate leasing on the blockchain
In the context of gRPC, it's true that Protobuf is intended to be a wire protocol, but the argument would be more convincing if the code generator toolchain Google fostered created code that integrated better with the languages that people use.

Typically, the data types and interfaces generated by these tools are so poor that you need to build another layer on top that translates between "Protobuf types" and "native types", as you describe in your comment, and shields the application from the nitty-gritty details of gRPC. So investing in gRPC means that when you've generated, say, Go files from your .proto files, you're only halfway done. Protobuf in itself introduces a kind of impedance mismatch, a kind of stupid in-bred cousin whose limited vocabulary has to be translated back and forth into proper language.

So gRPC/Protobuf solves something important at the wire level, but developers really want to productively communicate via APIs, and so what you have is just half the solution.

I wish the Protobuf/gRPC toolchain were organized in such a way that the generated code could actually be used as first-class code. Maybe similar to how parser generators like Lex/YACC or Ragel work, where you provide implementation code that is threaded through the output code.
Yeah, sorry -- mmap()'s lazy allocation of pages is a separate but related concept to overcommit (I was writing a tirade about that in a separate thread and my wires got crossed).
Due to the visa system, immigrants in the U.S. are not identically situated to each other. Non-Hispanic immigrants are much more likely to already speak English and have advanced degrees because they come here through visa categories that specifically select for those things.
In Los Angeles, food trucks must be parked at a commissary, but it isn’t required that food prep be done there.
That's some close reading! Good catch.