skysight-inc/HackerNews huggingface dataset:
“Emergency” comes from “emerge”. Think “emergent threat”. There is nothing emergent about this situation. Sure, drugs and our nation’s handling of them is a serious problem, but “problem” is not at all the same thing as “emergency”.

As a secondary consideration, I find it hard to believe that a fence or wall is going to help much. Some kind of DARPA-like competition-based inexpensive, well-considered electronic border monitoring might be helpful, but there are plenty of examples of people trivially bypassing fences and overpriced virtual walls.

(My personal favorite example of a virtual wall completely failing was at JFK Airport: https://www.nbcnewyork.com/news/local/Security-Breach-JFK-Je...)
Where Not to Travel in 2019, or Ever
The 'jobs Americans won't do' thing certainly annoys me as well. Because at the end of the day, no, they will do those jobs. They'll do them when/if the pay, conditions and other aspects of the role become good enough for it to be worth it.

If you can't get people to do a job, pay more and offer better perks. If you can't afford to pay more or offer better conditions, well tough luck, it means your business isn't financially feasible to operate in this market. Any company that only functions due to illegal immigration and paying people less than normal wages is morally bankrupt, and shouldn't be around.
I discovered this in the 80s when wires in to my car stereo speakers came loose and suddenly the vocal or lead instrument was missing from the music. Really puzzled me for a bit til I found the problem.
This seems misguided. I always thought the primary concept of baristas was to make it socially acceptable to pay someone a few dollars in order to have a brief social experience with them.
2018 Illusion of the Year: Triply Ambiguous Object
MINAR-E-PAKISTAN FACT HISTORY
Your comment confuses me, can you clarify?

> This is why we went with a stepped process. [..] It frustrated everyone.

But then:

> Since we've implemented the stepped process (and made other changes) complaints have all but disappeared
Just DNAT 8.8.8.8 to your DNS server.
Not to be confused with the Cisco Talos security people. I thought maybe they had released a distro when I read this headline.
I've been playing around with a similar idea using nextjs. My idea was to create some kind of RPC interface with typescript that works seamlessly between server/client rendering, so during server rendering, RPC calls would just be regular function calls, and during client rendering/event handling, the calls would be made through sockets or HTTP requests.

There's a lot of criticism in this thread. I'm curious if you're using this in production. I love projects like this that really push the bounds of how these problems are typically solved.
Shameless plug: I have a library for server-side react-like components (https://github.com/Bloomca/welgo).

It does not help you with client side, so it is more like composable templates, but they are async, so you can query DB inside your components.
My mistake, I was under the impression she was the congressperson for the area. She was a prominent critic of the project, and factored into the failure to some extent. I also don't consider myself to be conservative, just disappointed in the grandstanding against the project.
An Unoffical Guide to Product Hunt: Learnings from 15 Launches in 2018
Portland Considers Protection Against Discrimination for Atheists, Agnostics
The lineage can be further traced back to the first ML languages such as SML, and even further back to LISP and RegEx-based languages.

https://en.m.wikipedia.org/wiki/Pattern_matching
My (lay) reading of it was that it was indirectly killed by the FirefoxOS efforts. A lot of the enthusiastic BrowserID/Persona folks got roped into the login/auth parts of FirefoxOS. I think a lot of good enthusiasm/energy was burnt by FirefoxOS not doing well, and that burnout was accidentally/indirectly the death of BrowserID/Persona more than anything else.
I'd like to mention SpaceX, Blue Origin, and Tesla.

Regarding the policy choices:

Joe and I have equal income. Joe spends his full income every year. I invest 50% of my income. After 40 years of average stock market returns, I have accumulated 1000 times my annual income as wealth.

What policy choices created this wealth disparity?

Joe and I both retire. How much of my wealth do I need to give to Joe?
Same. It's not unacceptable to substitute it with a tiny bit of cumin to get the same color, since the taste of it is very subtle and easy to overpower. Even when you can taste it, it's not some miraculously incredible flavor or whatever, it just happens to compliment some other ingredients.

I grew some at home once just to see what the real stuff tastes like, and while the flowers were pretty, I'd never bother with it again.
> > I expect any specific person's opinion of the percentage breakdown of those factors depends a lot on which group they were in at the time.

> I feel like that tells me where your percentage would lie...

Are you responding to BryantD's admission of (widespread) bias by accusing BryantD of bias? This seems to add nothing to the conversation.
I doubt it's multiple accounts on the exact same service. I'm guessing fb.com is a near-clone of facebook.com's codebase, personal accounts are facebook.com accounts, and work accounts are fb.com accounts.
God, GOD WHY. Whhhyyyyy. Build APIs, not database calls from templates like Rails or PHP garbage. We know how to do this nowwwwwwww don't make this Rails User.friends.comments garbage DB calls from templates
No, I don't think we can collective choose to be better. We need a bacteria or disease to wipe out half the population (Thanos style) in order to give us a chance. I don't think even controlling birth rate right now will be enough. We are causing a multiplier by living lives that are 2x as destructive as 20 years ago at the same time we are doubling population. We've always been a greedy species but before the last 200 years it was out of our grasp. It no longer is and we keep stoking the furnace higher.
This happened to me just this week! I was trying to find a specific Onion article, so I searched various permutations, many of them including "the onion" which wasn't respected in the result output. I was absolutely furious that the one escape hatch I have to ameliorate bad searches was taken away from me.

Give it a try - I run CookieAutoDelete so it is 'theoretically' a clean search each time if that makes any difference.
> In fact my example demonstrates ... loop over only what you care about without doing extraneous work, by iterating over a contiguous chunk of exactly what you need to update.

Your example demonstrated iterating over a filtered list instead of an unfiltered list. The "contiguous chunks of data" benefit of ECS refers to how the underlying data is stored in memory, not to which data you iterate over (and both of those are orthogonal to types/polymorphism).
Yes, I agree

Why is it glorified? Unless all these researchers are really just intentionally giving code word to hackers for a target to exploit or weaponize, but it doesn't really seem like thats the point with these people.
There's a lot of MLM/self-help type scams that use Facebook to grow their base that I could see as similarly upset if they were banned or otherwise demonetized.
It's really increased in the last few presidencies, Clinton kicked it off and it's been emergency after emergency ever since.
End Anonymous Conference Feedback
The prisoners dilemma is ultimately just a demonstration of game theory.

That is there is more than you win/I lose or I win/you lose but there is win/win.

It’s definately conceivable two algorithms or two ai would be capable of concluding the same. In fact it may be even easier because what’s the actual dilemma/self interest of such a system without the selfishness of human nature?
Is there any practical use to these classifications? It seems to me that lager primes are distributed more or less randomly, so I don't really see the point of looking for constellations like this. Am I missing something?
BryantD responded to a similar question in another thread (https://news.ycombinator.com/item?id=19172762).
I don't know why this is being down-voted.

A few things: ARM and RISC-V definitely have specEx baked in (though you can not include SpecEx module on RISC-V). There are interesting alternatives to SpecEx. DSPs use delay slots, and I've seen delay slots used quite well in a GP-CPU. Getting high instruction saturation on a CPU with delay slots is a "hard compiler problem", but I have a few things to say about that:

Despite jokes about "better compilers", compilers are getting better (e.g. polyhedral optimization). One way to think of what OOOex/SpecEx is that it's figuratively the CPU JITting your code on the fly. The most popular programming language JITs aggresively anyways so one wonders if there isn't some reduplication going on.

Furthermore, the most popular programming language isn't entirely the most raw-power performant, and it's pretty clear that in our current ecosystem just pushing operations through the FPU (which is what x86 optimizes for) isn't necessarily the most important thing in the world; uptime, reliability, fault-tolerance, safe paralellization, distribution, and power conservation might be more important moving forward.

HM, oops, apparently RISC-V has OOOEx, not SpecEx.
I agree 100%.

Baristas are great for customer loyalty, and a good barista will have dozens of daily regulars that look forward to interacting with them and are emotionally invested in the coffee shop. A robot-staffed coffee shop won't.

A barista is not just someone that makes and brings coffee; there are a bunch of other tasks that need to happen at a coffee shop. This robot misses a ton of tasks that would be critical for any real coffee shop:

- Pastries, paninis, food handling of any sort in general.

- Bussing tables, cleaning messes, washing dishes.

- Refilling/rotating creamer, sugar packets, etc.

Most importantly, robots have no passion for coffee so your customers will have no passion for your coffee. Good baristas have pride in their craft. May as well drink office or 7/11 coffee if a robot is making it.

Also I think the goal of this project is ethically questionable; it's not freeing people from the tedium of the assembly line. It's replacing fulfilling, social, OK-paid jobs that many people enjoy, and for the exclusive benefit of the capitalist class.
The context for this is this Go project proposal:

https://github.com/golang/go/issues/30141

Filippo proposes to deprecate (but not remove) Blowfish, archaic curves, CAST, MD4, RIPEMD160, TEA, Twofish, XTS, and OpenPGP from the Golang x/ libraries (which are "officially supported" but not part of the standard library.

It's really heartening to see a project get serious about shedding legacy crypto.
Rich Person A decides to live in NJ. Taxes and all, NJ gets from him $22 million a year. They are y rich people in NJ. State gets cute and says, if we raised their taxes by 10%, we'll have $294 million more and they will not feel it. In reality, NJ stands to lose them all, because eventually they will move, not to Cuba or Russia, but to a US state, like Florida.

So NJ /NY would have a lot less to spend on highways, schools, cops etc because a handful of rich people were taxed out.

NYC /NY stood to make billions from Amazon. Now they get zilch.
I try to wean myself off Google search every few months but I've never managed to stick. What do you like for an alternative? I'm probably due another attempt.
Further Reflections on Amanita Muscaria as an Edible Species (2012)
Except OpenID was built for bloggers and you could change your account provider at anytime through URL delegation.

OpenID's flaw was being built for the web where everyone had a "homepage" or "blog" just as nearly everything shifted to social media and corporate-controlled walled gardens.
The Female Wave in Blockchain
The price of flights to Hawaii just dropped because SouthWest is starting a new route there. How is that not competition?
Wealthy people are less likely to stay put in one place I think. Thus, there's a demand to rent multimillion dollar units for 1-3 years at a time, but not necessarily own one.

Poor or average people buy a house in order to save money on rent. Rich people don't care about that amount and can easily get their stuff moved with company money. They recover the rent vs mortgage cost via increased flexibility.
the internet is not the web

yep, IRC, if I was at the computer I had a window with FreeNode and QuakeNET.

And a condescending Plan9 user, "Not only is UNIX dead, it's starting to smell really bad", as we say.
... which is entirely unrelated.

Really, what is it about quantum physics that causes people to make these weird connections all the time?

(P.S.: The many-worlds interpretation is better called universal wave function theory. Less sexy, but more accurate.)
Ask HN: What can I do to improve my brain activity?
I used to be proud of having a good memory. But, these days, I find myself being a lot more forgetful than usual. I feel my problem solving skills were better two years ago than they are now. What can I do to keep my mind sharp?
I wouldn’t hate it. Especially since my day job has me doing a bunch of C#, anyway.
In economics this is called tacit collusion
Amdahl's law for sure. We all know most software sucks, so in this vision (simpler cores), that reduces us to taking the performance hit and optimizing elsewhere. For example, older ARM-based systems do not use speculative execution, and can handle encryption and video transcoding though co-processors.
There are jobs that Americans don't want to do.

Ex: Nursing. Everyone knows we have a nursing shortage, nurses get paid decently and only need a bachelor's degree (compared to other medical professions which require Masters or higher-levels of Medical School). But Americans as a whole are not training up to be nurses.

As such, immigration is the only way we can make up for our shortfall.
+1 for BitWarden. For anyone reading this unfamiliar, it's an open source password manager with all the usual features (including iOS Fingerprint enabled client etc, shared group passwords), but the server is also open-source, and you can host your vault on your own server. It's free for individuals/families, supported by Enterprise licensing (or you can roll your own).
The infuriating, terrible SSO authentication sequence for the BigCo that I work for is a two-to-three page sign-on for absolutely no valid reason. It is infuriating.
I had a friend who insisted on saying "juarez". Annoyed the hell out of me! :)
The magic link / Notion example is completely lost on me.

"The pattern is incredibly tedious"

That's the point. You log in to your email to log in to your Notion. It's not 2FA, but maybe there should be some other term for it (like External Factor Authentication). I think unifying all of our logins against our email would be a step forward, not backwards. Then, sure, use your password manager for your email log in.

"This doesn’t work at all with password managers"

Yes, because there's no password to manage. Even if password managers end up supporting this flow, that'd require email access, and that seems like a Bad Idea™. Funnily enough, I'm sure that if password managers started supporting magic links with email access, UX people would rejoice even though it's a security concern.

"It forces users to learn a new convention"

Yes, it does. Granted, the Notion flow could be easier by injecting the temporary password into the log in URL, such that the end-user doesn't have to copy and paste it over.
You can choose between "he", "she" and "it", at least in regular English, sans the XXI-century additions. "It" usually refers to things, so if you want to humanize your bot/robot - as many people tend to - you're stuck with picking a gender.

At least in English you don't have nouns automatically selecting gender for you, like in other languages.
Electrodeposition printing realizes micrometer-scale “impossible objects”
Find I find interesting is that there is little talk about actual attempts to provide solutions for this situation: Thee feediverse with mastodon, etc. or matrix.org.

To bring it down to a populist formula: Why not make a law that requires the interoperability/federation of social networks? We have laws that set requirements for restaurants... why not for social networks?
Do you happen to be the admin at the meeting venue that discarded my SRV and DNSSEC lookups? What were the reasons you did this, if so?
I suppose that could be one of the reasons, but I believe the main reason was google won over CS students in high school and college in the late 90s and early 00s. I was introduced to google in high school because it was the best search engine for looking up programming code for my CS classes. Better than altavista, excite, etc. And naturally the word spread, not to mention the people maintaining computers, labs, etc all set google as the default search engine.

Sadly, now google is a terrible mess of moderated and curated nonsense.
Hi check https://freetrade.io/ and is available in U.K and can invest in U.S stocks. Have a look. Cheers
Announcement oddly timed with the anniversary of the Parkland shooting.
I had to Google (amusingly) to ensure I had my historical pedantic pet peeve correct (memories can fail us).

It was just 56k. I seem to recall back in the day people appended the ".6" for no apparent reason other than it sorta seemed logical after we had 14.4k, 28.8k, 33.6k, and then.. all of a sudden.. 56k.

(and, if I recall correctly, for technical reasons it was really only 52k, and even then, only if you were lucky, usually it was less.

I seem to recall that the equipment was theoretically capable of 56k but in actual implementation, even a perfect POTS system wouldn't do over 52k, and in the real world, it would usually negotiate lower due to distance from CO, quality and number of connections and equipment in between, etc).
> this can be solved by having a “display name” and a login

You have three choices with a user specified login name. You can:

(1) notify a user why account creation has failed (due to a duplicated login name)

(2) fail silently and have frustrated users leave your account creation page

(3) allow duplicated login credentials

In my mind, (2) and (3) are worse than (1). Since the question regards security practices, obfuscating the login name with a display name does not mitigate this vulnerability.

If you rate limit the account creation endpoint, you will minimize the ability of an attacker to brute force all usernames of your service, but you cannot prevent an attacker from determining if a specific account exists (apart from assigning login credentials).
So now we're stuffing sql in our react as well as html and CSS? React is on course to reinvent the PHP that everyone spent so long laughing about
They aren’t competitors? Well, they definately aren’t complimentary services (ie peanut butter and jelly).

Well merchants and consumers aren’t the competitors of visa/MC. Maybe they should cooperate by lowering the fees. If cooperation is the way to maximize profits...or does that only work when two companies collude to price fix?
> Does std::vector automatically handle the memory releases?

Yes. What is going on here is that "img" is being assigned. The "old vector" will have its destructor called, which will call the destructor of all of its elements by default.

-------

I assume you're talking about this code: https://github.com/ssloy/tinyraycaster/blob/master/framebuff...

void FrameBuffer::clear(const uint32_t color) {
img = std::vector<uint32_t>(w*h, color);
}

Which seems inefficient to me. But it is correct code, even if it is inefficient. There's no memory leak here, but the code probably would be way more efficient if it were instead a simple memset.

memset(&img[0], color, w*h*sizeof(uint32_t));

This memset is likely easier to understand, since it doesn't rely upon destructors / constructors / assignment C++ Magic. And its more efficient to boot. Vectors are guaranteed to be contiguous in memory, which is why it is compatible with memset.

EDIT: Hmmm... the img is never initialized. You'd also have to do "img = std::vector<uint32_t>(w*h, color);" somewhere.

----------

The rectangle is also inefficient.

for (size_t i=0; i<rect_w; i++) {
for (size_t j=0; j<rect_h; j++) {

If i and j were reversed, the draw rectangle function would be more efficient. As it is, "j" iterates in the wrong direction with regards to cache lines...

// This would be faster!
for (size_t j=0; j<rect_h; j++) {
for (size_t i=0; i<rect_w; i++) {

Overall though, efficiency isn't a goal at all. Its designend to be a quickie project to get things done as soon as possible. Thinking about all of these details slows down development, so there's something to be said about "just getting it done"
You really think all those drugs are coming by the vast border?

A lot of it is already secured with fencing and barriers to funnel people to the Ports of entry essentially, also have some common sense, is it easier to A) traffic mass loads through carriers at legal entries who can directly bypass any detection just because of the mere basic fact that there is too much to check and examine (CBP can't check every truck/car/container/train etc) or B) use "Human smugglers" to traffic in their goods, knowing they will most likely be picked up by CBP along the way once they reach the border...

https://www.washingtonpost.com/politics/2019/02/15/trump-cla...
Learn to read mate, I was clearly referring to facebook messenger chats, a product, while used for work at Facebook is used privately by the vast majority of folks.
That has more due to the local zoning law, I don't think Seattle housing would be this expensive had there be more high rises like NYC.
> Also, any AV article which doesn't note that we bought Elon Musk's first company is inherently flawed. ;)

I have always wondered what Zip2 actually was. Can you shed some lights?

Was it like a primitive version of Yelp?

Did the map work like Google Maps?
> There is nothing emergent about this situation.

That's a matter of perspective. If one party unilaterally decides to block the budgeting crisis, on a philosophical and political premise (albeit, the R's creating the situation to illustrate it), you end up with a situation where you cannot address an issue through political means, at any cost. This is a terrible precedent, but it's also logical for the tool at hand.

People have shotguns, which can blow through a window. I still lock my doors and close my windows. Walls work to a degree, for most situations intended to block access.
That folder-parrot example doesn't seem to illustrate the DRAKON methodology very well. The flow breaks when you have to read the code within each step.
As I mentioned in another comment, China and Russia don't build reactors all that quickly. Their newest commercially operating reactors Hayiang-2 and Leningrad 2-1 took 8 and 9 years respectively.

India is slower yet. Their newest reactor Kudankulum-2 took 14 years to build:

https://pris.iaea.org/PRIS/CountryStatistics/ReactorDetails....

Could the US build a reactor in 14 years like India does? I think so, even with my currently-low opinion of the industry's ability to plan. But I also don't see how to guarantee institutional support that lasts 14 years. Neither utilities nor politicians have the tools or incentives to support something that takes that long to gestate.
Yes, but I'm more worried about a flaw in the software revealing my DB than phishing, something I am an expert on.

I also have some measures in place to detect. (Ex: hard coded lists of URLs that open in a "financial" container)

I don't claim it's perfect, but it's my way of doing things, I like it, and I don't think it opens me up to an unreasonable amount of risk.

(Also, for lower-value passwords, like netflix, HN, etc I just use my browser's built in password manager.)
The problem is the DRM .. you would have to use some thing like Calibre to port them to Polar.

It's legal to do this for compatibility purposes but IANAL.