skysight-inc/HackerNews huggingface dataset:
> One of the many great things described by Catherine's keynote about ECS's in Rust: generational indices. Generational indices are a dynamic fix for this problem.

Hmm… I'd heard of stuffing a generation ID into unused bits (which can help but is limited), but I see this proposes having the index type be a full (index: usize, generation: u64). Well, that works, but now instead of indices potentially being half the size of pointers (if you don't need more than 2^32 objects), they're double the size. Also, each object must store a generation, and you have to check that each time you use the index. (So it's not just a single bounds check, though I suppose you could turn the generation check off in release builds or something.)

If you're willing to accept that overhead, it seems to me that you may as well just store a pointer instead of an index; design the arena to ensure that the pointers remain valid as long as the arena itself lives, and use lifetimes to track that (much easier than managing lifetimes of each object). That way you don't need to keep track of the array and the index separately, and you also save on the bounds check. Well… I guess that with an array you can have unique mutable access, whereas with pointers you'd have to rely on interior mutability. But it sounds like a pain to ensure uniqueness when threading around &mut references to the arrays (especially if there's one big object with all the arrays); you could never keep references across calls even when that would be completely safe. I would rather rely on interior mutability. (Have I mentioned that I think Cell should be built into the language?)
Share a porn live link
www.shineliveapp.com/?f=ycombinator
Shiny Shimmer Paper Wedding Invitations – A2zWeddingCards
Because one day, someone will send you an excel sheet.
Australia doesn’t care to break its coal habit in the face of climate change
As mentioned in the article, screenshots
Bitcoin and Cryptocurrency Exchange Startup Guide for Beginners
> China would not be where it is without the great effort (though hamfistedly implemented) it put into controlling growth

I would not advocate this authoritarian approach (I'm not saying you are).
Part of the solution is what you said earlier, education.
But population stabilizes on it's own as a country goes through the Demographic Transition.

See: https://en.wikipedia.org/wiki/Demographic_transition

Or for something more light-hearted: https://www.youtube.com/watch?v=QsBT5EQt348
OP, this is the comment you should be paying attention to. The (now downvoted to oblivion) counterpart to this comment sounds a lot like the top comment on Dropbox “Show HN” of it’s time: a totally engineered reasoning with zero core product value thinking [0]. Instead you should go deep, as in digging a hole or “Well”[1].

[0] https://news.ycombinator.com/item?id=9224

[1] http://paulgraham.com/startupideas.html (special emphasis on the the “Well” section)
I would say from a technical point of view vinyl is one of the worst for archiving purposes. It degrades every time you play it, it can warp, playing it back is error prone...

The advantage of vinyl is in your last sentence: "once I own something on vinyl it feels much more like I own a permanent copy of the music".

That's totally fine for me if you feel this way, but I don't. I feel better with multiple digital copies of the music on multiple places.
http://fga.wpengine.com/2011/10/floridas-drug-test-law-for-w...

This is heavily slanted, but I believe their numbers are factual.
How would such bad science with faked data get into Nature?
This quote sums it up for me "I believe Tcl has been mischaracterized and has suffered in terms of open popularity. But for insiders, it remains as one of those secret indispensable Ninja tools that is used over and over again for competitive advantage." https://news.ycombinator.com/item?id=12025218
> You need almost as sophisticated equipment for verification as needed for fabrication. The the fabrciation companies are the only ones that have that capability.

That's not true. Imaging ICs (or other structures) down to sub-nm resolution is much much easier than making them.
Most physics labs will have no problem doing that..

The various imaging techniques (AFM, STM, etc.) used can routinely achieve sufficient resolution to verify these claims with fairly moderate amounts of tweaking and cost.
STM is often used to image things down to atomic resolution.
Given that he's the CEO of two reasonably large companies, I'm assuming that most of his non-private thinking time is spent in meetings, giving some form of presentation, and in email, there's no inherent need for a desktop computer which I believe is the intent of the article if you could call it that.
You can pay credit cards with QA codes. You just don't need the POS device.
Google Covered Up Their MASSIVE Data Breach Scandal Fearing Repercussions
Easily solved with generational indexes as described in https://www.youtube.com/watch?v=aKLntZcp27M
What Is Ethereum? A Step-By-Step Startup Guide for Beginners
AI2-THOR: Photorealistic Interactive Environments for AI Agents
I think US as a whole is behind using QR codes for payments in general. One big reason is banks. The credit card culture of US made it almost impossible for new technologies to come and break the ground. Till this day there are banks who issue credit cards without chip and people prefer to use it.
> Even if we wanted to lazily allocate these, we can't leave a simple Rust reference (or pointer) null past the end of the unsafe block.

So make it an Option, and get rid of the unsafe block altogether.
> Which one?

The one that was entirely clear from context: Linkage.
"By protecting and restoring forests, the world would achieve 18% of the emissions mitigation needed by 2030 to avoid runaway climate change"

So no, it could NOT "really be as simple as saving trees".
Look at /r/elsagate on Reddit for plenty of examples.
Ouch, that was embarrassing -- thanks for spotting =) Sorry about that -- ESL and stuff. Editors did a hell of a job fixing our English, but errors still slipped in. We'll be fixing grammar (and probably add link to the presentation PDF) later this week.
especially since it can run linux apps. But, their ui was pretty laggy in the recent demos. You can't beat iOS in UI smoothness.

Edit: grammar
/r/elsagate on Reddit is a good resource.
Wow, this is terrifying. I'd really like to know why they haven't faced more control from congress up to now.
Because spreadsheets.
WordPress Tip, Tricks, and Hacks for Quick Content Ideas
For those who may be interested in improving the error messages generated for LR parsers, you might want to look at MERR from the Unicon project.

http://unicon.org/merr/

EDIT: correct spelling mistake
Probably, but that's par for the course. Nothing wrong with that per se given his job responsibilities...
Can these surfaces "get cancer"? As in, for some reason, the reaction continues way beyond simply healing the crack?
I wouldn't be so sure, sounds like the kind of thing El Presidente would do.
Yeah, iOS is definitely very polished. Haven’t seen much lag though on ChromeOS.
I've long thought about creating a standard(iana type) for PostgREST json schema + http querystring conventions. I've seen some APIs[1](only one I can remember now) that follow PostgREST conventions, so perhaps this could benefit all of us who don't want to jump on the GraphQL bandwagon but still want an expressive and interoperable/standardized way to query resources.

We currently use OpenAPI but we found some shortcomings[2] and would like to have a more tailored standard.

Right now what we're missing is more funding, we don't have a backing company like GraphQL/gRPC, we rely on community donations through Patreon[3]. Definitely consider supporting us if you want to improve the state of REST APIs, allow us to keep fighting for web standards :).

[1]:https://developers.blockapps.net/advanced/concepts/#cirrus

[2]:https://github.com/PostgREST/postgrest/issues/790#issuecomme...

[3]:https://www.patreon.com/postgrest
Just yesterday I headed to a local (I live in Tokyo) sushi restaurant that has an "everything's at half price" price day once in a month. Turns out they had to cancel the event this time because they didn't have enough ingredients. A bummer, but on the other hand I was slightly amused that this migration event had an impact to my life too.
I agree. I do tons of work on an iPad Pro. Laptops are o lot better for writing code but for most other work and fun stuff I like an iPad much better.
Point of order: the OIN club is free to join. It was founded to protect Linux related businesses from Microsoft patent trolls. The requirements are (IANAL) compatible with your existing policy of releasing everything under an open source license. you can (and should) join.
Google is opening pop-up shops in NYC and Chicago through the end of the year
A metric showing that students going to northeastern universities mostly come from northeastern states isn't very meaningful. Given that it counts only students attending those schools and not all of those accepted by those schools (e.g. the full population of those meeting the actual qualification standard) and doesn't account for ability to pay renders it even less meaningful.
This sounds very accurate
It might be useful to have things like version-script mapfiles as defining interfaces separate from the actual libraries (ELF objects). Then for shared linking the build system (make, whatever) could notice that though an object changed, its interfaces haven't, and then not re-link dependents.
I was lucky enough to go there early in the morning with a friend of mine who is a chef in a restaurant. It was really interesting but I do think that going there without a guide would be rather boring.
SW engineering can be a pretty brutal job psychologically - there's a reason people are burning out. Interviewing is particularly bad.

I guess most men have thick skin or got lucky, so they don't see that, instead they think it's this dream job and everyone should partake in its wonderfulness.

I believe that the lack of women in tech is explained by societal bias against women and the nature of the job.
50M Facebook Accounts Hacked: What Should You Do?
is this English?
I could, but my laziness prevents me from doing so. The documentation is fairly good for Quasar, hard part is getting the code instrumentation up. If you use Maven, there's a plug-in to do much of it for you
Lime-based mortar has been doing so since the Roman times.

Of course this is development is different, but it's still not scalable in any way. If your material isn't alive it won't last long, the catalysts always decompose or degenerate fast.
This is AWESOME!!! I was very sad that Quasar seems to be going dormant, made my day
You have to seprete the function frok the body, this is a very relevant separation. e.g. the head of state in Germany has close to zero actual power while France has a very powerfull presidential system. The only thing comming close to electoral college in Germany is electing the Head of State. Both, candidate and electors are caeefully selected by both chambers of parliament. Personnaly I'm not happy with that, parties tend to have way to much power in the German system.

All the Bundesrat has in common with thr Senate is being a second chamber. It is not elected directly as a body. Instead the prime ministers of ech state are making it up. So it is voted for indirectly during state elections. Votes in the Bundesrat are than based population, more or less (if someone knows the details that'll be cool). coalition governments different to the one on the federal level usually abstain (e.g. parties A and B govern federal, C and D being the opposition while parties B and D govern a certain state that state will note vote on certain issues).

In a democracy, these details do actually matter a lot. Otherwise you won't be able to ditinguish democracies on paper from real ones.
And someone will summarize it for you.
HIGH EBOLA DEATH RATE WORRIES EAST AFRICAN NATIONS
Please see GDPR Article 7, §4:

"When assessing whether consent is freely given, utmost account shall be taken of whether, inter alia, the performance of a contract, including the provision of a service, is conditional on consent to the processing of personal data that is not necessary for the performance of that contract."

And then Recital 43:

"Consent is presumed not to be freely given if it does not allow separate consent to be given to different personal data processing operations despite it being appropriate in the individual case, or if the performance of a contract, including the provision of a service, is dependent on the consent despite such consent not being necessary for such performance."

If:

1. You ask users for consent

2. The consent is not strictly necessary to provide the service

3. You deny the service to users who decline to give consent

Then the consent isn't freely given and therefore invalid.

> GDPR does not forced you to provide a free service or a service that generate less revenue.

True, but then consent isn't the right basis for processing of data. As you mentioned, business justification, or "legitimate interests" as GDPR puts it, is what you should be using.
Nix IMO suffers greatly from... using its own weird own language and DSL (Nix) which has its own weird semantics.

I tried NixOS and was even willing to author packages to get stuff I needed working, but I could never wrap my head around the Nix-language.

Guix however, that’s just LISP and there’s few things simpler than that in the entirety of the programming-universe.

IOW you don’t have to learn something new, or get new editor plugins or whatever.

I really want Guix to succeed. Here’s me hoping they won’t hamstring it over licensing issues like the FSF often does.
Those were never pictures of the board or the chip. The images are credited to an illustrator. The report itself never mentioned 6-pin. And if you listen to the Risky Business podcast, the chip image is actually a signal coupler sold via Mouser Electronics, that Joe Fitzpatrick sent the journalists a link to when they asked him "what does a signal amplifier or coupler look like".

https://risky.biz/RB517_feature/

https://appleinsider.com/articles/18/10/08/security-research...

Actually, you can check for yourself. It's the first photo result at Mouser if you search for "signal coupler". Seems everyone has been running around trying to find a TDK HHM22137A2 on their Super Micro boards:

https://au.mouser.com/_/?Keyword=signal+coupler
It's been wild living in the Middle East and watching this turn into a first rate shitstorm across the region, with the Saudis lining up allies to farcically yell "Fake news!" in the face of the evidence being dribbled out by the Turks.

I wish the USA could convincingly say something to the Saudis, but with our recent surrender of the moral high ground (and indeed increasingly convincing speculation that we armed the Saudis with intelligence that informed this purge), that is probably not going to happen.
This is really impactful work. Data centers are 2% of US electricity consumption, and a 20% improvement in idle energy usage will cut that by a sizable fraction. (Even if virtualization is intended to reduce idle hardware capacity.)
Russ Roberts did a podcast this week on HK and it includes a discussion about the handover.
http://www.econtalk.org/neil-monnery-on-hong-kong-and-the-ar...
What stops the thing from growing indefinitely, but also fast enough when damaged to return to the "original" state?

If there's a "surface coating" which when damaged, causes the "inside" to "grow" again, how does the coating repair itself, to stop the "inside" from growing beyond the original surface?
Now we just need to iron out bugs which prevent CPU's to reach certain low-power states. Turns out in modern CPU's that's surprisingly difficult to achieve, as not only the CPU is considered for such power states, but attached components, like the NVMe controller, as well. Matthew Garrett explains pretty good what's happening there: https://mjg59.dreamwidth.org/41713.html
Is this a new thing? Isn't this like the pdb files that msvc had since the late 1990's?
I bet he uses multiple, including his mobile.
I say, bring on the grey goo! It's simply a distillation of life's ultimate purpose, so why not use a more efficient version?
Similar arguments were put forth in Spengler's "Man and Technics" back in 1931.

Spengler, having a very different temperament than Ellul, saw this phenomena as a sort of self-destructive destiny that we should face like men.

Ellul's treatment, for what it lacks in primacy, more than makes up for with constructive insight.
The way to fight bullshit is not by trying to refute it, which would be futile due to the bullshit asymmetry principle.

The way to go is to offer a compelling alternative.

Of course, this applies only if the bullshit has been confirmed as such and if the person promoting it has shown to be uninterested in a sincere and fair argumentative discussion.
You didn't respond to my point at all. There is a true signal, and there is the measured signal. We're measuring, obviously, the measured signal. It is, according to you, a weak proxy for the true signal. That is, it correlates with it at some level. Secondly, we have another variable 'spending'. We can measure that this 'spending' variable correlates with the measured variable. Therefore, we know that those two variables are related in some way.

Now, in terms of getting a bead on the true signal, do we care about the spending variable? The only reason we have to believe it has any relationship to the true signal is that it correlates with the measured signal! If we didn't know the measured signal directly, that might be useful. But we do.

What I am saying is this: The performance tests are the best we have. There is no additive value of this 'spending' variable, as far as anyone i'm aware of can tell. If you have information to the contrary, i'm curious to hear it, though.

Now, you may, perhaps even rightly, that say that the performance tests we have are so bad that they're useless. Well, i'm not going to take a position on that. The position that i'm taking is that adding 'spending' to your model does not minimize your loss function here, and there is no reason to believe that it would.
(Posting as a throwaway)

Jack is one of those socially awkward people who you see on the street with their head glued to their smartphone. Is that actually better than being someone who uses a computer at a desk, and then completely disconnects the rest of the time?

Modern smartphones are more powerful computers than most capital-C Computers. This is far more of a semantics thing than anything else.

Great headline though.
it's been officially in gcc since 2012
Not using pointers at all for graphs.

I suspect a lot of the data where you want to use pointers for efficiency, is already in stricter shapes than graphs.
So I used to think this, but I've come around a bit. What indexes do is let you put a pointer "to sleep"; it can be woken up only by pairing it with a live data structure which you correctly have safe ownership of at the time. This "dormant" pointer can be safely stored in data structures that have no concept of the containing object's lifetime, which in games is exactly the common use of entity handles (usually implemented as generational indices), hibernating until the original object is really needed.

I think it's possible to write a DormantPtr library that encapsulates this pattern with better ergonomics than vec<> + generational index.
Autism is a spectrum. The unfortunate ones are much more delicate. But those affected less definitely can learn social stuff and get around by rationally reading other people and imitating expected/appropriate behaviour. Sort of not curable, but manageable.
We don't kill posts for ideological reasons, though ideologically passionate readers sometimes feel that we do.
How are people going to pay for things if they're not earning income? Who are the customers going to be if not employees of organisations?
Well said. Celebrity worshipping is a staple anywhere you go. It's either the kardashians (who are different from what they show on TV) or the dorseys.

And about twitter bring dumpster fire, somebody a few days back commented in the context if uptime reliability- if a payment gateway goes down, it hurts global economy, if a non-descript site goes down, nobody cares and if twitter goes down, people heave a sigh of relief. Or something along those lines.
Amazon plans to take on Paytm in payments with QR Code pilot
Really, then why nowhere in this philosophy creating new value or new means of production is considered?

It is class struggle and for someone to have something they must take it from someone else. It is disgusting how pure evil like this is masqueraded as philosophy/ideology.
> today
More like South sea bubble and tulip mania of yesteryear.
Walmart turns to Flipkart for tech
Show HN: Agent-Oriented Software Engineering Project, Simulation in JavaScript
> "Western intelligence agencies have generally regarded their Turkish counterparts as reliable on domestic matters."

I struggle to believe the author wrote this with a straight face. Are these the same reliable intelligence services that just help purged half the Army officer corps, Judiciary and Turkey's teachers because they are conspiring with a religious leader in the USA? [0] I am quite sure they would point fingers at whoever Erdogan wanted a finger pointed at.

I don't know the politics going on behind the scenes here, but I do not believe anything either side are saying.

[0] https://en.wikipedia.org/wiki/2016%E2%80%93present_purges_in...
The Living Dead: Thoughts on Macro and Depressions (2010)
I have seen that talk.

To me it feels a bit like a workaround for something that cannot be validated by the borrow checker, because it is something that developers have to go the extra mile to implement, or get a third party library, which someone has to validate that actually works as expected.

In a way, it isn't much different than expecting C and C++ developers to use static analysis for lifetime validations.

Meaning, using a tool outside of the core language for added safety.
Yea, we will call it "Amber" :)
BadgeFace – add badges to your Facebook avatar in group discussions
> There is nothing in the GDPR that puts on legitimate interest over another including your so called right to privacy.

In fact there is one exception which thankfully limits legitimate interests of data controllers:

"processing is necessary for the purposes of the legitimate interests pursued by the controller or by a third party, except where such interests are overridden by the interests or fundamental rights and freedoms of the data subject which require protection of personal data, in particular where the data subject is a child."

It remains to be seen in practice how much data controllers' interests can be overridden by "interests or fundamental rights and freedoms of the data subject".