skysight-inc/HackerNews huggingface dataset:
Another technique related to voxels is the "Signed Distance Field" (using a data Field or procedural Function).

Signed Distance Function:
https://en.wikipedia.org/wiki/Signed_distance_function

2D Signed Distance Fields are used for rendering fonts and other shapes defined by a texture whose signed pixels (-128..128) specify how far each is from the border (+ is outside, 0 is on the border, - is inside). They scale beautifully because you can smoothly interpolate between samples.

Drawing Text with Signed Distance Fields in Mapbox GL:
https://blog.mapbox.com/drawing-text-with-signed-distance-fi...

TextMesh Pro - Font Asset Creation Process:
https://www.youtube.com/watch?v=eXhfygRgIVY

You can convert them to piecewise outline contours (like an iso-map slicing at many different elevations) with the Marching Squares algorithm, but it's much more efficient to render them directly pixel-by-pixel with a shader.

Marching Squares:
https://en.wikipedia.org/wiki/Marching_squares

Signed Distance Fields are excellent for shaders efficiently antialiasing and drawing effects like outlines, drop shadows, embossed and beveled edges, glows, multi texture mapping, bump mapping, etc). The shader can quickly determine exactly how far away each pixel is from the outline, and blend the appropriate effects together for that pixel, so you get precise anti-aliasing, outlines, drop shadows, etc, practically for free! (And literally for free, now that Unity gives TextMesh Pro away for free.)

TextMesh Pro - Unite 14 Demo:
https://www.youtube.com/watch?v=q3ROZmdu65o

3D Signed Distance Fields are used for rendering volumes with the Marching Cubes and Tetrahedra algorithms (which are nice for users continuously carving and sculpting with tools, like Astroneer).

Astroneer:
https://astroneer.space/

Astroneer - Digging to the Center of the Planet:
https://www.youtube.com/watch?v=C3zxBhPzxYU

That also scales and handles different levels of detail nicely because you can interpolate between samples -- it creates smooth polygon meshes with interpolated normals, not harsh cubes with pointy corners like Minecraft.

Marching Cubes:
https://en.wikipedia.org/wiki/Marching_cubes

Marching Tetrahedra:
https://en.wikipedia.org/wiki/Marching_tetrahedra

Fast Marching Method:
https://en.wikipedia.org/wiki/Fast_marching_method

Fast Sweeping Method:
https://en.wikipedia.org/wiki/Fast_sweeping_method

Level-Set Method:
https://en.wikipedia.org/wiki/Level-set_method

Shaders can't render 3D Signed Distance Fields as directly and efficiently as 2D (unless you're rendering to 3D volumetric textures). But you can still implement Marching Cubes on the GPU, using compute shaders (or abusing 2D shaders).

Marching Cubes on the GPU for Unity3D:
https://github.com/Scrawk/Marching-Cubes-On-The-GPU
1) realize you may never “master this beast”

2) commit to it for a few weeks and become proficient

3) keep learning
Cool, I hope we will have good ,safe and cheap tires. If the law does not put a bit of pressure we never get this new technology.

I was also thinking that it would be good if we got brakes like the racing cars have, those strong breaks could save some lives, I know there is a log of G force but it would be better then an almost instant stop in a wall.
That is true.

However it may be the case that a third party holds "owners of the mining hardware" by the proverbial or actual balls. Then the calculus changes.
Nope,these prices for researchers are meant for academia jobs.

Researchers in companies, especially in AI fetch between 60% and 100% more.
I'm downvoting you not because I disagree with people exercising their rights, but because you're spreading information that, if followed in the places where it matters, will be the quickest way to get your teeth kicked in and land you jail.
Dryer sheets :) I don't remember where I found this tip, but recycling used dryer sheets as air filters works fairly well (definitely beat having nothing).
I did not simplify it as you state, and I certainly did not make a blanket statement.

But regarding science and possibilities, how often in history had science said somethingwas not possible or real, and by rules of science at that time they were correct, but later with more understanding science began to allow the observed thing to be "real".

Science, its definitions and rules, are ever changing and advancing. Thus it is fair to say that at any given time we are dumber than we will be in the future.
And if you try to attack one of the smaller coins, odds are it'll just get forked. Which is a risk with big coins too, but at least there's a chance the original chain retains some value.
They do have GPS, and the police are able to track these.

Automatic speeding tickets seem to be beyond the pale everywhere, they are trivial to implement on toll roads and yet do not happen.

I think there is a good to great chance they are used for per mile taxation in CA, and either mandated for new electric vehicles or encouraged through hassling regulations if you don’t.
Ask HN: What is the exact way a new node knows about the others and vise versa?
I’m trying to understand blockchains more but I’m having trouble grasping how new nodes can “pop up” and be integrated into the system without a centralized server
Which form of society would allow for complete equality?

Where everyone has the same things to eat, drink and learn and everyone is missing the same things (usually luxury).

I can’t think of any social system like that mostly cos it all involves people and not all people are the same and will behave differently inevitably wanting different stuff which will lead to more more inequality over time.

Maybe someone has ideas?
The interesting thing is that the Chinese government could theoretically nationalize all those data centers and be very close to (or far beyond) 51% on any proof-of-work-based cryptocurrency [0]. This would, of course, be a one-way street, immediately lead to a price crash, and likely be unprofitable... but it might be viable, say, as part of a scorched-earth cyberattack to cause chaos and wipe out international wealth parked in Bitcoin.

It's heartening to see things like Ethereum moving in a proof-of-stake direction [1], and there's a lot of hope for a lot of the new cryptocurrencies out there. But Bitcoin itself is far more centralized and government-controlled than a lot of people think.

[0] https://medium.com/@homakov/how-to-destroy-bitcoin-with-51-p...

[1] https://www.ccn.com/ethereum-moves-one-step-closer-to-proof-...
People are down on Electron. But to me, it looks more like the future than GTK or QT for many things. In the end, Electron's tradeoff of resource use for ease of development is likely to win because computer capability will always trend above the line needed to run current web browser technology and Ubuntu ships with a browser. OK, Electron is not native. Neither is Java and every argument against Electron was made against Java twenty years ago and performance of Java apps on ordinary computers was often much much worse than Electron on its worst day.[1]

The story of computer programming is the story of programmers avoiding the need to write native code. Assemblers, compilers, Cobol, C, C++, Java, Go all exist because hardware is the worst abstraction most of the time. Particularly because it is sticky. Twenty-five years after first programming on TRS-80's and Apple II's, I freaked out about allocating a 10,000 element integer array on a machine with 4GB of RAM and dual quad-core Xeons.

That's not to say that writing code at a low level might not be a good learning exercise. But it's not a reason to claim moral/ethical superiority. Engineering is about making meaningful tradeoffs based on project criteria. Resource allocation ought to be evaluated based on the importance of the problem the software solves...and consuming "too much" resources is often a reflection of the problem's importance. and problem importance can be a useful way of evaluating software quality.

Don't fight the last war.

Good luck.

[1]: And there was Java in the browser!
Predictions of the future made by pessimists lead to a life of no mistakes, but neither do they take you anywhere new. It's just like living a suburban life all of your life: you'll never learn what's outside your neighborhood. Or take larger corporations: they stop making any existential risks, and tend to slowly die in the next 50-100 years.

On the second part: or you could just set high expectations and learn how to live in a constant disappointment without being any less happy because of it.
We spent a whole hour.

Okay, more seriously, it took me about a month to stop hating Emacs in 2002. I only started because I thought I had no choice. I was a math undergrad, I wanted to write math, and they plopped me in front of Emacs and LaTeX running on Debian. Alright then, I'm here to learn new mathematics, so I'm also going to learn new ways to type mathematics. This is just how we do things in university, I thought.

Fifteen years laters, I haven't stopped using and learning about Emacs. I can't do any serious writing without it.

So, my advice is, if you don't want to keep learning Emacs forever, just stay with whatever you like right now. As a general rule, the Emacs faith does not proselytise. Some of us tolerate Emacs, but you'll have to try it yourself to see if you do.
Geohot on twitch livecoding SLAM (simultaneous localization and mapping)
"It made 10,000 ordinary employees millionaire or better rich, the founders even richer"

soft-pedalling here much? The founder became THE RICHEST man in THE WORLD for TWENTY+ straight years. Any other large sources of income, in say, the entire world?

M$FT under the shark-like junior managers became close to a Mafia, using threats, law-suits and marketing soft-money bribery to run roughshod over an industry. Buying and killing companies by the dozen, or simply crushing them for bragging rights at the golf course well after monopoly power was in effect.

The defense of 10,000 engineers got rich has a bad smell to it, considering there are now 2.5 million programmers in the US alone and who-knows-how-many worldwide. Look at the leadership and the actions, as well as the booty.
Agreed. I've seen this come around every summer for the past few years, and I don't mind reading it again (especially considering I'm up at the cottage right now with our young children).
There is a golden middle, found in some smaller service businesses.

To support them, give 5-star Yelp/Google reviews, as well as your business.
Staying with the 'I'm just making a point' aspect, what portion of the proceeds are you sharing with your family for disclosing their addresses? Or have they all signed waivers?
>Styles and scripts of the main document doesn't apply to it.

Ugh. I look forward to being unable to use custom JS / CSS to fix websites that have banners that cover half the page, or `max-width`s on their body to constrain themselves to tablet sizes on desktop monitors...
The Kubernetes ‘fork’: Open source purists miss the point
because it gives him a nice chart: the top 0.1% have been taking the gains away from the bottom 90% -- while that 9.9% in between has been holding steady.

And I agree, it's a stupid core idea.
Woah dutch trash collection is surprisingly interesting.
Yea, that seems like a bit of a gamble versus the naieve 'just spend it' strategy.
Why did we replace wlc?
Zipper Up Flouncing Layered White Short Sleeve Blouse – RageCraze
What's the intersecting region in the Venn diagram between "people who will program in APL" and "people who will program on a touchscreen" though? They're small circles to begin with— most programmers seem to have an allergic reaction to coding on tablets and APL is kind of a hard sell even notwithstanding the input issue— and so I can't imagine the overlap is many people at all.
I don't think the final paragraph on why it wouldn't pop is a compelling argument. While I don't actually think the ant would explode - saying some ants live on mountains is not an argument against it. The explosion would occur from the change in pressure, not the absolute pressure.

The real reason is that the small size of an ant makes an effective pressure vessel and the differential is simply not very high. Some species of spiders which actually operate their legs pneumatically are known to fly across oceans high in the air with their silk as a sail.

[1] https://www.cnn.com/2015/07/04/europe/spiders-sail-fly-ballo...
> If the hash rate doubled then one would only require 30 minutes until the difficulty adjustment kicked in.

Difficulty adjusts every 2016 blocks.
About time, dang
Oh, really so much faster with pypy3? That would have been very nice to know when putting this together, but in any case is good to know for the future. Thanks for the tip.
My suggestion would be to go and have some lessons. If you have a proper swimming pool nearby there likely Is dome cind of swim school or swimming club and lessons available.
The mistake would be attributing any outcome to the placebo intervention. The mistake isn't in the construction of the experiment, but in the interpretation of its results.
And guess what group was #2: Software developers. Now look at long-term health and economic prospects of the two careers, beyod short term satisfaction with survivorship bias. Former developers are better off than former construction workers.
High School in China Uses Facial Recognition to Monitor Students’ Attentiveness
Who would you consider more of a capitalist, the apartment block owner who contracts with a property manager or the property manager who decides who to rent it to?

The high-net-worth individual who deposits his capital with an asset manager, or the salaried fund manager who determines which securities to buy with it?

The angel investor who puts $1M of his own money into a fledgling startup, or the entrepreneur who decides how it's spent?

The hedge fund manager who has bought 40% of the company on Wall Street, or the CEO entrusted to make the daily decisions on company operation?

I'm surprised the grandparent post has been downvoted, because when you get close to how capital is actually managed and invested, it's clear that it's a lot less clear than it looks from the outside. Even people who nominally have "control" over capital expenditures are subject to market returns. If they don't invest that capital correctly, they will lose the ability to manage more capital.
Man Scales Building to Save Dangling Child; Macron Offers Him Citizenship
Aren't most mifare carding systems hooked up so transactions are logged, so to detect fraud? Like the australian gocard system for example, isn't every legitimate transaction on the card recorded on an online database somewhere? To exploit a gocard, or similar technology, wouldn't you also need to hack their system database? Eg. taps on to pay; records total transaction value and balance on card; taps off records total transaction value and balance; user rewrites card data; balance on the database isnt updated because a direct payment wasn't recorded; fraudulent card detected; idk correct me HN if I missed anything
How to reach you?
Yes. If my running balance doesn’t match actual cash in my bank account, I just enter a correction and an in-line comment describing the cause of the discrepancy. However often I find I’m usually in the right ball park (my recurring expense patterns are very regular) so I rarely use that field.

Also I’m rarely off budget by a lot, partly because of the visibility this tool provides. My feedback loops are tighter due to monitoring.

You can also do what-if scenarios pretty easily, e.g. can I afford a vacation in Spain in a particular month without dipping under, how much of a raise do I need to ask for to hit a target, etc. You can play around with timing and amount.

A spreadsheet provides you with all the metaphors you need to do planning and budgeting efficiently. It’s a solved problem. It’s really hard to beat.
I disagree that it's segregating or done on purpose, but it is deeply unfair that the price of a good "public" education is being able to afford the real estate in that catchment area / school district.
There is zero reason behind this assumption.
The truth is one, but lies are many
Blazing fast framework for Humans in Y!
How did this get to front page?
I found Paul's Notes (http://tutorial.math.lamar.edu/) invaluable while I was taking calculus in college (not with Paul, or at Lamar, but his notes are the best).
Not 100%, but running them at least 50% is not a bad idea. In these days of containers and QoS scheduling, it's easier to make good use of slack resources. Letting memory sit unused is an even bigger crime!

Someone told me that the team at his previous job with a "large cloud provider" based in Seattle was told not to go above 30% CPU usage, at which point they'd buy more hardware. I'm sure not all teams there do things that way, but, coming from Google, 30% (95th percentile over a week) is very low.
You can exercise with family
all roads that are depicted as named roads do have their names on the map. Azalay in west Africa is one example.
The brain damage caused by psychedelics is extremely specific. By your logic, tonsillitis shouldn't be curable by removing the tonsils, because if it were, then shooting someone in the mouth with a shotgun ought to produce similar effects to performing a tonsillectomy.
Show HN: Ballpoint SVG editor
What's wrong with looking like "bros", who are strong and healthy?
Hi zorkw4rg. Thanks for having a look at the tutorials. What makes the vertex shader not readable in your opinion? If you substitute the different values gl_VertexID can take (0,1,2), it's not hard to calculate the values of gl_Position.
Very interesting data. Are you planning on making it available via an API?
> 2 billion PCs

Hence my specification for industrial scale. More likely: a corrupt data centre system admin or government official. In any case, if you’re taking on the Bitcoin network, doing it with fairly-obtained resources would be silly.
Seems to be self aggrandizement/someone who wants to market themselves...I'll just move on.
Lack of Paid Sick Leave Increases Poverty
In US, each school district receives money proportional to their students, with some places raising money via levys or bonds in their district. It takes a long time to make new schools. If people could go to any school, you'd overwhelm some districts with tons of students and you can't just make a new school in a year or two, it takes a lot of time for the district to figure out they'll need one long term, raise the money, make plans, build and hire teachers. So this would just be a disaster in the say 3 year time frame.

I think a major reason some districts do better than others is that wealth of the parents is highly correlated with educational attainment of the parents and the children. It's not that the big city schools just generally suck, they have many more problems to deal with, one being older infrastructure but also a lot more poorer kids, and less parental contributions.

Being in the Seattle area, every school district is overloaded, and is struggling to plan and build new schools, and has lots of temporary buildings (aka trailers) that they have some classes in. It's true on the east side, the more wealthy side. And on the wealthy east side, it's far more conservative politically than Seattle; compare Seattle to Bellevue, Kirkland, Redmond, Issaquah. Those are still moderate to liberal cities, but as an example Issaquah has a republican US Congressman, Reichart. These places are pretty strongly supportive of keeping the public schools the way they are.
For many software devs,standing up is the equivalent of normal people planking.
Haven't been sick for 6 years - cold/flu/any sickness. I put it down to intermittent fasting which I started at the same time. I eat about once a day in the evenings (I eat a lot then) although I often snack before exercise early to mid afternoon.
There's been a couple of times where I've felt I'm coming down with a cold, and then it goes away like nothing happened. Writing this, I actually went out last night, had food and beers and woke in the night with that tell tale scratchy one side of my throat, then woke up this morning and nothing.
I've found that if I feel something coming on, I eat nothing then it goes away. Water is obviously ok. You know how when you get really sick you lose your appetite, I think it might have something to do with that. I reckon eating is quite an energy hog, so if you don't eat then you can leave your body the resources it needs to fight a cold. All this is just anecdotal, but I'm sticking to it because having a cold is such a waste of time/so annoying.
It's a tough issue to get right, because unfortunately some customers are clueless and some customers can be abusive.

I have some experience running online subscriptions, and my policy has always been that you can unsubscribe straightforwardly. Typically it takes a couple of clicks clicks, one to start and one to confirm, and the whole process is immediate and fully automated. In some cases, maybe there's also a brief and optional exit survey, but never anything deceptive or that significantly obstructs someone who wants to cancel. Like not using some conversion optimisation techniques that cross a line into invading privacy, I just see this as treating our customers how we'd like to be treated ourselves.

Many people have used these facilities with no trouble and those services have generally received few complaints, but you do still get the special people who instead of taking ten seconds to do that would rather send a page-long email about how they demand that we cancel their subscription right now and if we charge them again they'll dispute it, and they'll literally send that email 5 minutes before their next renewal fee goes through.

When you're dealing with that kind of person, you want it to be stated very clearly and in writing that their subscription continues until cancelled in the proper way, that merely emailing is not sufficient to cancel and may not take effect immediately even if we do honour the request, etc. Of course, that doesn't stop us from being friendly and helpful if someone sends a polite cancellation request by email, even though it's an irritating waste of time to deal with those requests manually, but you can't be too casual about cancellations or, sadly, some people will exploit that.
Just curious - excuse my ignorance - wouldn't there be a high level of chance involved in that you might actually win, that would cause the cost to rocket way up for you to succeed in that double spend? Eg you'd have to keep trying before you got a hash that would cause you to need to actually spend a lot more.

This is for 1h of compute in the calculation so would you not actually need to run for a very long time, and also be spending in each and every one of those blocks?

Again sorry for my ignorance - hoping for some insight.
> I myself have found it a lot easier to just make your own components and not depend on some random 3rd party library

This. Unless you make a very generic project (and if you use React for that, probably you are doing something wrong), you bump into limitations of any CSS-framework sooner or later (later is especially painful, since it is impossible to fix without ugly workarounds).
And on pager duty. Fewer bugs when they wake you at 3am.
I'm not a programmer but I have dabbled in code for a while. Emacs honestly made me love using my computer again.

Give yourself a full day for the tutorial and then try to stick to it even though for a while you will be slower and clumsier at everything. This will pay off massively.[0]

Make it part of your routine. Apart from coding in it, use it for email (mu4e/offlineimap), for git (magit), as a local and remote file manager, for writing notes and running a diary (org mode), for submitting papers (LaTeX/Auctex), for your terminal...

Speaking for myself, it actually improves my quality of life, and I feel like I've only scratched the surface.

[0] https://stackoverflow.com/questions/10942008/what-does-emacs...