skysight-inc/HackerNews huggingface dataset:
For Oculus to be useful as a traditional display it would probably need a higher resolution(i.e 8k per eye), it needs to be wireless, lightweight and possibly use the camera to blend-in the outside environment so that you don't feel trapped in Matrix while you work. It would probably take 5+ years to get there
You'd have to point out specific code for that. Afaik that's not possible in c++ at runtime. Compiler has to know the type even in dynamic casting.
It was explained to me that cocktails are a combination of flavors. That is, for example, sweet + dry + sour + ... you get the point. Making a good cocktail is about balancing those various attributes, based on the characteristics of the base ingredients.
I picked up a Magic Leap a month or two ago with the goal of doing this. I'm building a Wayland compositor that forwards its rendered windows over to a headset, so you can have an arbitrarily large 'display'; windows can be positioned anywhere in space.

The ML1 probably isn't good enough for actual use, due to the text rendering, but I think the HL2 will be. I had the HL1 and its text rendering was plenty good, but the FOV killed it; the 2 should fix that.
Really? Please look up some references.
Eg. https://jancovici.com/en/
Nice to see that the Thinkpads and fumos meme is still alive.
The middle initial stands for Communications, not Consumer. It is theoretically meant to regulate shared communications resources, initially the radio waves but by extension also phones and the internet.
I actually can't imagine this. As someone described by aphantasia, this level of graphical immersion sounds off, to me.

More, this will have less rigor than standard 2d graphical builders. And those don't exactly have a great track record. :(
I've found that people fall along a spectrum of conscience that determines how bad you feel when you lie (independent of the consequences).

Where you fall on this spectrum is determined by a combination of genetics, family values, and societal values.

There are people who don't feel bad about lying in any situation e.g. sociopaths and pscyopaths. There are people who only feel bad lying in certain situations (the situations that society doesn't give a pass to). Then, there are people who feel bad lying in all situations (typically, bc of the values they inherited from their parents and upbringing).

I say all this because I think the optimal behavior when it comes to lying frequency is entirely dependent on where you fall on this spectrum. If you are a psycopath, you can be happy with a code of conduct that allows frequent lying and covering up your lies. If you feel terrible about lying in all situations, then you shouldn't lie at all.

Unless you do really hard work on changing your value structure, you're sort of tied to a solution, and if you want to be happy, it behooves you to follow it.
Plprofiler – A Handy Tool for Profiling PL/pgSQL Code
A nice example is `match` that is one of the macros that comes by default in Racket.

#lang racket

(define (show x)
(match x
[(vector a b c)
(display "It's a vector, total = ")
(displayln (+ a b c))]
[(list p q)
(display "I's a list, average = ")
(displayln (/ (+ p q) 2))]))

(show (list 8 2))
(show (vector 1 2 3))

(Playable version http://pasterack.org/pastes/75154 )

The idea is that `match` can analyze the value of the first argument (`x` in this case) and then it binds the variables (a,b,c or p,q in this case).

In this case I'm matching only a vector with 3 values or a list with 2 values, but you can match more complicated and nested pattern.

The interesting part is that inside match you have the full power of the language, you are not restricted to a few special hardcoded cases (like `display`). You can send an hppt request, play a sound, save a value to disk, calculate the prime factorization, transform the text to uppercase, anything that is available in the language is available inside match.

But `match is just a normal macro. Racket is implemented in layers. The bottom layer is implemented currently in C, but it doesn't define `match`. The bottom layer is almost hidden and it is used to define some libraries and an intermediate language that it is used to define some libraries and an intermediate language, ..., and after a few steps you get the official Racket language.

But if you like you can reimplement a macro like `match`, or a variant, or your own macro, with all the magic to define local variables and use all the power of the language inside it.
I'm British, so you don't need to explain using mixed systems, however in any kind of academic, engineering or scientific contexts metric units are used almost exclusively. Yes, people still refer to height in feet and inches a lot, and we'll drink a pint (a real pint! None of your mini-pints!), but that does change over time. For example older people will use stone and pounds for their weight but being younger the doc doesn't bother telling me my weight in anything but kilograms so I don't even know my weight except in Kg.

Even in Britain, in almost all engineering contexts, SI units would be assumed. Your point about Americans assuming imperial units is precisely wwhy it's so dangerous that metrification hasn't happened there.

If the US went metric, then there would no longer be any need to assume anything but metric anywhere, and it would be safer for it.

Yes, there's a long standing tradition, but it only takes a couple of generations to completely change, and that would likely be hastened by being the last large country to do so and having a large cultural footprint on the rest of the world.

If the US did convert to metric, in 3 or 4 generations the whole world would be metric, and there wouldn't be any "wrong assumptions", and it is making bad assumptions that lead to preventable failures.

If China can manage to go metric, the US can too.
The twitter mobile version is also the "new" standard desktop version if you enable it.
Germany and other nations that poured subsidies into renewables early on (and are to be commended for their economic sacrifice for doing so) are outliers. The rest of the world caught up as soon as renewables were cheaper than fossil fuels. Capital markets don't have feelings.

Humanity lucked out that solar and wind costs were driven down as rapidly as they were through manufacturing scale. We'd be screwed otherwise ("ie business as usual carbon output estimates").

Somewhat related but unrelated: it's not bad if fracking goes south. It'll drive the price of natural gas up, which will make existing nuclear and existing/new renewables more cost competitive. It'll also drive adoption of energy storage faster. We want natural gas prices to rise, since we're not going to internalize the CO2 emission cost through regulation. This allows for market forces to kick in that are beneficial to climate change mitigation.

Disclaimer: I have brokered one tax equity partnership arrangement for a solar plant rated @ >1MW (Indianapolis suburbs), and have done my research.
IANA maintains a registry[1], but there are some notable absences. Your change-password is one example. Apple has at least one[2] and probably more URIs coded into Safari that aren't listed.

[1]: https://www.iana.org/assignments/well-known-uris/well-known-...

[2]: https://developer.apple.com/library/archive/documentation/Ge...

EDIT: typo
The bigger issue is what will happen if our children don't need to work hard. A world where 95% of people don't need to work at all sounds great until we factor in wealth inequality.
Ditto jq. jq is a very simple functional programming language built around streaming of objects.
Given the velocity of impact, it's not unusual for an intact plane to literally explode into tiny pieces upon impact, that continue traveling for quite some distance.
Yes, it makes you more powerful, but is power what you want to value most in life? If not, what does your value heirarchy look like, and how does lying/being a jerk affect your ability to achieve your highest values?
thx, added
Is Alienware a good choice for laptops now? I’d always heard they were overpriced for the hardware you get.
I was fairly senior when I made the transition (~10 exp) and I knew my bosses very well by that point. I decided to roll the dice when another employee moved to work remotely and that seemed to be going well. I didn't ask my bosses, I told them I was moving for family reasons but I would still love to work with them.

Having a remote job when moving to a new town is ideal as it allows you to quickly secure housing with your latest paycheck. In my experience neither landlords nor mortgage companies care that your office/employer is out of state.

I would advise against this approach if you are more on the junior side as you might not learn as much as you would in the office (of course you might not learn anything from coworkers regardless in some cases). I would also advise against trying to work remote from the same city as your employer without a really good reason. This usually just makes you look like a jerk.

As for productivity, this can be a major challenge. When I first moved I lived in a very small apartment and was distracted by a good many things. I usually felt like I had to work into the night to make up for distracted time during the day.

Going to libraries and coworking spaces a couple days a week helps me. It helps with the cabin fever and it helps staying on task. Communication with your team and manager will likely also be a huge challenge and all I can say is be nice to everyone, be willing to help out in anyway you can, and initiate conversation with your manager often. I check in with my manager several times a week outside of standup to make sure critical items aren't getting missed. Our team will also screen share with each other often which can be uncomfortable at first but is vital. Our team is a mix of remote and in-office, but as more people became remote things improved. Reminding your manager and team dispassionately about any remote work challenges your are facing can help.

Best of luck.
I used the HL1 as my full-time computer for a while. The display itself was actually fine -- the text rendering was great, so it worked out well. The issues were 1) software (I built an app called VNCaster that was a decent implementation of VNC, but you were restricted to working within that window, which kind of killed a lot of the benefits), 2) FOV (way too small), and 3) comfort (it got uncomfortable quick -- 2-3 hours was about my cap).

I think that with the HL2, many of these are going to go away. I can't speak to the comfort, but I know that the first two are now non-issues for me.
I would have skipped the liquid metal, it will need to be reapplied in a year or two and is a pain in the ass.
Agreed. Might have upvoted, instead downvoted.
I have an older MacBook Air and reddit doesn't lag at all in Safari. Maybe it's something else..?
IMHO, what they need is to work on "ClearType for 3D" and/or "DirectWrite for 3D".

In the demo they use giant fonts, because text rendering sucks if you simply render text to a texture, then put that texture on a rotated plane in 3D. If that last stage was bypassed, e.g. when rendering text, the renderer would somehow know the rotation and distance, and draw the vector font directly into the screen pixels, they could get it crisp enough for most apps.
This appears to be using my port of the PCE emulator[1]. It's also used on the Internet Archive, which has a collection of HyperCard stacks which you can run in the browser[2].

I have a short tutorial[3] for running HyperCard stacks locally which might be interesting to anyone who has some stacks lying around on their filesystem, or who just wants to play around with Mac OS 9.

[1] https://jamesfriend.com.au/pce-js/

[2] https://archive.org/details/hypercardstacks

[3] https://jamesfriend.com.au/running-hypercard-stack-2014
Previous discussion https://news.ycombinator.com/item?id=19023734
Hunting. Gathering. You have to do things, but it's not labor. Tribes cared for their sick and old, and they would watch the children.

For what you said to be true, even chewing food would have to be considered labor.
>Was there ever a time when a human being could subsist at any level of decency except through labor?

There was once a time when humans were hunter-gatherers. Are you suggesting that our approach to societal organization should be the same now as then?

>Why then would you expect humans to be adapted to such a situation?

How have some humans "adapted to" accumulating resources many orders of magnitude beyond what they require for subsistence?
Not self-hostable.
I am waiting for the Volvo V60 (the variant with the smaller gas engine) and the new V40 (hoping that the V40 will be less expensive than the V40), both hybrid (battery range ~50km).

The on-demand 4wd of the V60 (the electric motor drives the back wheels) would be a nice additional feature (not sure if it will be available for the V40).

V60: https://d2t6ms4cjod3h9.cloudfront.net/wp-content/uploads/201...

V40 (prototype "40.2"): https://cdn.images.express.co.uk/img/dynamic/galleries/x701/...
I think 8 hours of preset structured time is too much for some professions. 2-4 hours of preset/structured time per day is very reasonable with the rest of the time open for flexible creative work as needed, at least in a field that works on intellectual products.

I work in a research environment and it's not like creativity just turns on and off with a switch because it's 8am on Monday and someone said I need to be working right now. It also doesn't turn off at 430PM because that's when work ends. You can require me to be there and have me iterate on existing ideas, but you won't see any profound output, just small iterative improvements. My greatest ideas happen in my leisure or during casual yet in-depth conversations. Heck, some of my best output happens when some idea hits me on a slow weekend morning or late in the evening and I delve deep into it.

For physical labor, 8 hours a day is pretty doable, I'd say 6-7 is reasonable. I've done both types of work and don't have much problem with 8 hours that don't require me to think very deeply. Typical office work fits in here and involves doing simple broad tasks, often mixing in some random light physical activities and usually has little work baggage that you carry home with you (unlike creative work).

If the work is very physically taxing, I feel it has the same effect as very mentally taxing work in that you can sustain it for much less time (say, physically moving heavy objects which requires manual downtime). I recently moved myself and no matter how motivated I was to move those boxes, my body needs a physical recovery break.
I think this project would've benefitted from consulting a good bartender -- or at least a barfly - to identify the key dimensions and the scaling vectors.

As other commenters pointed out, there's a whole science behind how the ingredients associate.
You can do that by rendering text yourself, particularly in a full-immersion app. Rendering distance field text is cheap and really easy to do properly in that situation, but I don't know if anyone has actually done it in practice.
> Keep in mind that powered flight was basically entirely developed by Americans and pre-SI Brits

The french played a very dominant role as well.
The grammar definitions in the article looked very similar to PEG at the first glance. And the article seems to confirm, “The parsing algorithm that RLMeta implements is based on parsing expression grammars (PEG), but is extended to match arbitrary objects, not just characters.”

I didn’t quite get the “match arbitrary objects” bit... Is this basically the same technique as PEG or what am I missing?
Cantrill is quite right. There are many examples where the lack of design hurt Linux, and Cantrill will list many of them for you!

E.g., epoll -(what a disaster). Or inotify. Or containers (the subject of TFA). Or kernel debuggers (never mind). Or tracing frameworks (actually, here Linux has finally evolved something similar to DTrace, namely all the ebpftrace stuff). Or cgroups. Or the kernel keyring. Or...

Lack of design is not a virtue, not now.

Sure, design and design review comes with the grave danger of bikeshedding. (I'm using "design" here loosely to mean what we called "architecture" at Sun.) And it has higher initial cost to not designing. But in the long run it pays (it certainly wasn't the cause of Sun's demise).
Ask HN: Resources to Teach Yourself Medicine?
Hey HN,

Let me first just say that I don't think that studying physiology and biochemistry will put you anywhere near understanding do being remotely qualified to have a medical opinion. I just want to learn a great deal about biology and the current state of medical knowledge.

Are there any good books/resources you recommend that are taught at Med Schools?
http://palmerluckey.com/oculus-goblack-how-to-make-your-ocul...
Page 44 of the linked report. There's a full analysis at the link below. There are a huge number of variables (purchase cost, annual mileage, predicted depreciation, fuel and electricity pricing trends etc), but EVs match or exceed the TCO of comparable new ICE cars in a substantial number of scenarios in Europe.

The key factor is fuel costs in Europe - even with oil at around $60 a barrel at the moment, you'll pay $6 to $8 a gallon because of high fuel taxes. Off-peak electricity costs as little as 8¢/kWh on some tariffs, with most EVs doing three to four miles per kWh. Incentives like purchase grants, subsidised charging equipment and reduced registration fees further tip the balance in favour of EVs. Lower maintenance costs are a factor, as is the possibility of lower-than-predicted depreciation due to higher-than-predicted durability of EV battery packs.

We're still some years away from TCO parity in the US, because motor fuel is still incredibly cheap and electricity is often relatively expensive.

https://www.sciencedirect.com/science/article/pii/S030626191...
No history is a feature. I like knowing that, like in real life, only people who are present can read what I'm saying.
> As any good architect will say in response to a design question, “It depends.”

I absolutely agree with that. However I don't like being strawmanned. I never said linux configuration "should be in a relational database". I said I'd like to have my data in one place to reduce complexity and decoupled from the layers above.
Sounds like reasons to prefer FP over OOP, not necessarily Erlang.

I do really appreciate Erlang / Elixir (have contributed several libraries), but the problems you describe are not uniquely solved by Erlang. Akka / Scala is another take on the whole actor based architecture, and seems to have considerably more traction (hiring talent will be easier for your manager).
fonts being defined as a set of bezier curves you'd have thought it would quite easy to write a shader where each fragment computes its distance from the curve & assigns smoothsteped color as a function of that distance
not in any real practical sense
> however in any kind of academic, engineering or scientific contexts metric units are used almost exclusively

This is true in the United States as well, but fueling a commercial airplane is not an academic, scientific, or even an engineering exercise. It is as routine and pedestrian as refueling a bus.

> Your point about Americans assuming imperial units is precisely wwhy it's so dangerous that metrification hasn't happened there.

Or maybe it's an argument for why "metrification" is itself dangerous. The problem is the transition, not being on either side of the fence. It seems to me that the only safe mode of transition is first to dual readout, and only then to SI-exclusive.

Don't get me wrong, I like SI units, I use them every day, and I don't long to spend any time multiplying and dividing by irregular fractions; I just don't like the dismissive "shoulda been metric" rhetoric that floats around everywhere; as though you can just stop selling letter paper and force everyone to use A-series compatible envelopes, and convert the clean (if baroque) markings on the paper products to bizarre decimal fractions of a g/m² without any empathy for the old guard.

Some people care about how Britain still drives on the wrong side of the road, but that doesn't mean they should berate you every time a drunk roadtripping Frenchman turns out into oncoming traffic.
How is this related to programming languages - I think these are platform issues and design choices. How does Erlang help there (curiously interested)?
This might be the case where you live, but it's definitely not the case in many countries around the world. I like to travel and part of the reason I gave up vegetarianism is because I was tired of eating the same stuff over and over again while traveling because there were no other options (caprese sandwich in Europe). Not to mention the extreme difficulty of limiting carbs and sugars while maintaining any kind of taste in vegetarian diets. As for synthetic meat, which is what pg is talking about, I can't possibly see it making inroads if it costs more than meat, which it sounds like pg is implying. Most people can barely afford meat as it is.
Its a config menu that's in part generated from a config file, and part pre-made in a .UI file. I don't control the config, and it can add or remove options. I premake widgets for known options, but still generate widgets for any options that aren't covered by pre made ones.

To keep things far simpler, the .UI file is meant to be the one that defines the premade widgets, and have properties on them. How UI seems to be usually done in QT is uic generates a header and the object names become members that can be used directly. Then all those members are used directly, and become hard coded.

In this circumstance though, I don't want to hard code in every widget, that way if new options are added, they can be updated in the .ui file and not require recompilation and more hard coding of widgets.

Problem is, you can't do qwidget->find, get the head widget, then get a list of the widgets actual child type. What I've read and have asked others on, you gotta qobject_cast until it sticks. C++ can't get types at runtime and then cast them, it has to know what to do at compile time. Hence having to write out every type and cast it.
“Above all, don't lie to yourself. The man who lies to himself and listens to his own lie comes to a point that he cannot distinguish the truth within him, or around him, and so loses all respect for himself and for others. And having no respect he ceases to love.”
— Fyodor Dostoevsky
Would you say it is highly relevant for those interested in AI safety?
The piano demo was by far the most exciting for me as someone who developed for the first HoloLens. Having used the first one extensively, the improved gestures support is IMO a more significant improvement than the FOV upgrade for long term use cases.

I’m interested to see how Firefox handles web browsing on HoloLens. I’ve always envisioned URLs in that context as a way of loading a new holographic experience into a shared space, as opposed to each URL providing its own separate experience (though this would be good as an option.)