skysight-inc/HackerNews huggingface dataset:
>what's the point of porting a memory-safe (with GC and runtime) on a VM especially dedicated to remove the costly memory safety part of JavaScript.

a) binary portability - compile and ship WASM link/run on any machine with WASM VM - eg. package up to NPM and run trough any V8 target

b) extra sandboxing layer for security (it's designed for browsers where you are supposed to run non-trusted code)

c) portable APIs (assuming WASM targets expose the same underlying platform like node or w/e)

d) WASM is single threaded right now but from what I've seen it's a top priority for next release to spec out shared memory threads
Feel free to use it. All of the libcperciva code is BSD licensed and should build and work on any C99-compliant system.
bricking devices by Microsoft's friends

Eh? What did I miss??
> 'I typedef my structs all the time, and call them something_t, and * something_p’

I wish people would stop perpetuating this particular naming convention. Its in violation of POSIX which specifically reserves the entire *_t ‘namespace’. Obviously its fine if this is done on a system or environment for which this is irrelevant, but its best avoided otherwise.
Optimize Your Rest Api with HTTP Multipart Batched Request
I have used many languages, including Python, and I like JavaScript. It depend of lot of what you want to do with the language. If all the programmers you know are doing the same sort of tasks, such as server side scripts (the goal of Go), they have no reason to like JS.
>Not typedef'ing your structs forces you to use extra 7 characters per type mention for no clear benefit. To put it differently - if NOT having "struct" in front of a type name has any effect on readability/maintainability of your code, then there are deeper problems with your coding style that won't be solved by dragging "struct" around.

The benefit is to readability. You should treat structs differently from scalars, and the code should make the distinction apparent. You should not generally, for example, pass structs by value. This is just laziness.
I believe we're still a decade or more from true driverless vehicles / cabs. There are so so so many situations which require specialized decision making to get out of that we really need general AI to truly have cars drive themselves. I'm sure we'll get some sort of hybrid model sooner where the cars are driverless 95% of the time, but someone at a remote center can take over and pilot it around construction / through a power outage / on icy roads / in emergency situations / while getting pulled over by police / when there is a rally in the streets / on detours with workers waving you on / in freeway shutdown-type situations etc etc.

Uber is betting the farm on being able to solve this in the next couple of years or however much financial runway they have left. Good luck, but I don't see how.
I know it's not a popular opinion, but they do the right thing.

Fragmentation of windows versions is a huge problem, and this approach is the lesser evil.

I liked Windows 7 best (who doesn't?), but I'm using Windows 10 exclusively now because rolling release is the only viable model.
Working remotely – turn your nightmare into a dream
> even within enterprise apps.

The epitomes of today's software. I really like how you used "even".
Java (including dex) and IL bytecodes are too high level. They assume that everything is laid out in garbage collected classes.

This basically means that programming languages usually have to be specially designed for them. There's ironpython, but it's not fully compatible with python for instance.

LLVM IR is designed as a compiler IR and hardly useful for this usecase, as it is unstable, target-specific and has a complicated largely undocumented bitcode format (I don't know any reimplementations). It has been tried with PNaCl and the original SPIR, but both projects abandoned LLVM-IR/ were abandoned.
No one here interested in the concept of not having direct human interaction for 27 years? Regardless of how he achieved it?

There is much to learn from this case. I suspect only a few handfulls of humans in history have completed that epic journey.

I personally know poeple who have solo nonstop sailed around the world, speaking on the radio every day, and even that has a huge impact and is less than a year.

Perhaps we can put aside the moral aspects with how he achieved it and focus on the rest of this astonishing edge case?
The Inverted Web: Using CSS for Content
You don't even need to do anything that hard. All you need to is run basic benchmarks and compare the results to what other filesystems can do, and when yours is about half as fast that should make you go "huh"...
Things have slipped as things do. :)

I should update that, but I've been busy improving the content and building better examples and learning how to do better video so I can do justice to the planned upgrades.
To be honest I would just have your library offer a function that does it your fancy way. I agree that there could be better integer parsing functions, I disagree that they should be macros.

>Not at all. The point is to have self-contained routines which Just Work in order to ensure that the rest of the code is easier to read and maintain.

Self-contained routines that are completely unmaintainable and unintelligible to anyone but you, though. Not worth it.
also not inexpensive

Isn't that what we pay them not insignificant amounts of money for?
"Draining the swamp" by stuffing it with Goldmans Sachs and billionaire swamp monsters.

Anyone whom believes/ed DJT is/was either foolish, stupid and/or insane and gets what they deserve.
But is the CPU not compatible? I was under the impression Microsoft artificially creates an incompatibility in a shameless move to push users to an ad based OS. I wasn't aware that any cpu instruction had been removed that would prevent Win7 from running normally.
Outside of an all-volunteer ecosystem, like Linux or the BSDs, supporting and validating software on a particular processor family costs time, money, and ties up engineering resources, you know.
Belgium has a 0% tax on selling shares. Left wing parties want to change that. I hope they're never in enough power to do so.
I'd say when you have big n, smart algorithms O(n) are better.
But most of the time you have small n. better to optimize just the real big N in your program, for what you profiled, than using complex and "optimized" algos when N<1000.

(I cannot retrieve the article this was taken from)
You've strongly missed the point he was making. Tesla has such problems with their supply chain management that they have had to reduce parts and SKUs to the point of using mass grade finishings on lower-luxury class vehicle.
They are trying to kill windows 7/8.1 to get as much people to 10 as possible.
No, there you're pointing out the actual difference between Apple and Microsoft. I don't even remember the last time I directly paid for a Mac OS (10.6?). Nowadays it all comes down through the Mac App Store, a usb key, or a rescue partition. Periodically Apple discontinues which hardware sets it supports. You can still boot that same hardware on whatever the latest, most patched OS that will run on it - from Apple. They sell hardware. Intel does the exact same thing with their processors. Microsoft does the same with its products - which are software based.

Per Microsoft, Windows XP is EOL. It doesn't matter what hardware you want to run it on - Windows XP is no longer supported by Microsoft. Are they attempting to push people to newer versions of Windows? Absolutely. They're essentially defining their product.

This seems different on the outside but I'm not sure it is. I think they've said something about Skylake/above functions differently enough to require significant changes to Windows 7.
At the bottom he writes, "the stationary distribution is actually independent of adding a constant diagonal (identity) matrix," but I'm not sure how that could be true (intuitively it doesn't make sense, but I don't know the math)

edit: A identity matrix wouldn't affect the stationary distribution, but if you had the actual "stay" probabilities they wouldn't all be the same, and thus not an identity matrix at all.
But intel develops the chipset drivers, not microsoft.
Not sure I follow.

> scalars

So you would typedef the scalars then? If you don't, then scalars will be the built-in types (which you'd presumably know well) and then all other type names will be typedef'ed structs/unions, still making it trivial to recognize them as such.
> The vast majority of people don't need the scale that is difficult to achieve with regular server-side sessions, and that JWT claims to "solve". They add complexity to solve a problem most people don't have.

Not really talking about sessions, but I think I see what you're saying.

> If the attacker has JavaScript access to your page, CSRF is not your problem, so CSRF tokens can't help you.

I agree. I'm trying to understand what you were saying about whatever your Javascript has access to, their Javascript does as well. Why should this be a criticism of JWT and not CSRF?
ECHOSTAR XXIII MISSION
The destination shows up when the ride starts (i.e. you get in the car). Calling beforehand is a an indication that the driver might want to cancel the ride if the destination is "inconvenient" (e.g. from city center to a remote suburb).
But microsoft isn't the one writing the drivers. Why would it block the CPU?
Monero is a secure, private and resilient digital currency
New MajikPOS Malware Targets Users in Across North America and Canada
Good researcher and good coder is definitely not always the same (not specifically talking about Mr Gerhards - but this code is UURGH. Redis also has modules).

Most of the research code I've seen if definitely not clean code. And needn't be. (Version Control ? what's that ?)
I am not joking, those are the type of databases I use daily on the the programming stacks I posted in another thread.

My employer does enterprise consulting.
There is a difference between being not supported and adding some code to prevent the OS from running on this hardware.
This is what happens with a perverse, for-profit medical-industrial complex: snake oil.

Also worth mentioning is the fake "emergency rooms" and "urgent care" fly-by-night shops which have sprung up on the side of roads in much of the Southern US. People will inevitably die because of the confusion and misrepresentation caused by these shoddy scammers.
Yes, I think typedefing scalars is fine. Typedefs are useful for abstracting the underlying storage mechanism for a scalar (so you can i.e. change it on different archictures or in a future release without breakage), not for saving yourself 6 characters of typing.
collecting data at the customer's expense :) A classic playbook in our industry since RECaptcha came out
Why you should choose React over Angular 2 or 1 for that matter
CQRS Pattern
This is 100% inline with what I'm thinking.
I am amazed by how many people don't realize that tips are mainly a scheme managed by the employer to guilt-trip the customers into paying an extra mandatory unpredictable amount of money.

The thing that makes me so sad about it, is that the waiters are the first ones to guilt-trip the customers, but never the employers. It really hits a nerve when I read those blog posts from ex-waiters, explaining how difficult it is to "live with a waiter wage, so please make sure you tip 25% at least". That attitude is exactly the reason why employers continue to take advantage of employees.

I agree that in the current state of things, tips are needed for waiters to survive. But it doesn't make any sense economically. If mandatory minimum wage was set for waiters, and tips were built-in, everyone would be better off.
Stockholm Syndrome is also a viable explanation.
I can't remember if threading support is in yet, but it should be possible. The downside is that it will be a rather hefty binary the user has to download.
"If all men were angels, no government would be necessary." -James Madison

Hence effective, nuanced regulation is absolutely vital and libertarianism is an illusionary utopia like communism, with sensible and practical being somewhere in the middle.
Ah, the delight of renting place to live.

Landlord: You cannot take a shower unless you upgrade your bathroom. The pipes now monitor the equipment in use to stop you.
To be honest I would just have your library offer a function that does it your fancy way.

It's not possible to have a single function do this. Not possible to have any finite number of functions do this if, like me, you want to support all floating-point and integer types.

Self-contained routines that are completely unmaintainable and unintelligible to anyone but you, though.

All of my macros are intelligible to anyone who understands the C preprocessor.

More to the point, why do they need to be maintainable? When was the last time you maintained the strtof function in your C library?
There are also enums, which are user defined scalar types (although I don't think this fact really affects your argument).
It's slower than that, it will be travelling the circumference of the Earth once in 13 seconds.

Light itself can "only" go around the Earth 7 times in a second.
> If you are buying a house, a 25-year mortgage matches the value of the house

The exchange price of the house does not have any intrinsic value, while generally speaking the cash money you owe to some external entity like a bank tends to keep its value in most of the cases (the Venezuela- and Zimbabwe-like cases are few and far between). In other words, you're betting that a real-estate crash won't happen before you end up paying your debt.
Yes, there is. That code needs iterators.
Thanks for giving me a chance before deciding, I really appreciate it. Some people are still not ok with it, and I totally understand, just so long as they get the whole picture first.
Why worry? The meat industry is completely disgusting, and raising animals for slaughter is morally bad. The sooner we can disrupt this industry and stop killing animals, the better. I have zero remorse for the farmers that will be impacted.

I just had a fantastic dinner with a perfectly fried beef tenderloin steak. It was delicious. If this could be made cheaper, faster, better, and without having to kill a cow every time, that's an absolute win for everyone.
WASM isn't set in stone, in fact it is constantly evolving. But I doubt it will ever really let you do JIT compilation. WASM itself can be JIT compiled if you want to implement it that way, but executing memory just doesn't seem feasible given that the security model simply has to forbid executing machine code directly. I don't think the JIT>WASM>JIT again is the best way to go about things.

If you tried to implement a new WASM backend for Roslyn or javac or something, it would be impossible simply because of how much the behaviour of these languages depends on their VM. Stuff like `synchronized` and introspection (esp in CLR managed classes / reflection APIs). You need the VM for that. Projects like Scala Native work because you still have an entire OS to work with on the target platforms.

You would have to implement very low level virtual-machine-like features in WASM to support something like that. And even if you did, the scope of WASM isn't big enough to support all the features of something like Silverlight running in it. I don't think they will ever support a graphics API you could do that in, for example.

At a higher level, trying to run a heavy framework on top of WASM is just silly. You already have a heavy framework, in the DOM and other browser APIs. They are essentially all you could possibly need to do anything useful in a browser. They are the only way to display anything to the user. You can't run an HTTP server inside WASM, but you wouldn't want to. You can't implement a custom interface technology in WASM, because you can't draw anything, but you can do all that with the DOM APIs or WebGL/canvas/etc so why would you want to? All these things you would need to hack together a Silverlight are already available, and your wasm would need to include an implementation of all of them. These are all things you kinda want to dynamically link against... which wasm doesn't support...

The focus for WASM (after it properly nails down the spec on a whole lot of basics) will be memory management and enabling access to GC'd JS objects. Then using JS APIs would follow. We're a long way off both of those, let alone providing VM-like features you could target a managed language at, or enough native-like APIs to allow building something like Silverlight on top of it.

I say we, but it's definitely not me working on this stuff, and it's not half the engineering talent from Microsoft either.
and still they contain bugs sometimes, which need software workarounds. If interested in the topic you can surely find several examples in the Linux source codes as well.
I'll add my shot at converting RGB to CIE (XY + brightness) I wrote for my command line controller for Hue lights:

https://github.com/TeMPOraL/hju/blob/39b0c2c27f5f076a93b360d...

(code in Common Lisp)

Hue documentation (available after registering with them) also has example algorithm in (AFAIR) Objective-C.

EDIT: replaced Github link with commit permalink, in case I change the file in the future.
>It looks non-functional and ugly to me.

Non-functional and ugly? I'd say this is subjective, but I find this assessment objectively wrong.

It's complete accessible, and totally functional for what it does -- present a series of sections and display code examples. And it's also quite obviously well designed from an aesthetic perspective.

(There's no black box in the actual site in Chrome, but even with the black box, it's a totally fine functional design).

As for the NYT, it looks like a compromise between looking like a print newspaper of yore, a portal of slightly less yore, and a modern news website cramming everything in the same start page.
>It's not possible to have a single function do this. Not possible to have any finite number of functions do this if, like me, you want to support all floating-point and integer types.

Just tack an 'i' or 'f' or 'l' on the end. Not a big deal. Literally one extra character. And you don't have to hold shift the whole time.

>All of my macros are intelligible to anyone who understands the C preprocessor.

I understand the C preprocessor fine and I have to stop and mentally decode all the crap your macros are trying to do.

>More to the point, why do they need to be maintainable? When was the last time you maintained the strtof function in your C library?

All code is liable to have bugs. All code is liable to have performance issues. All code is liable to use an outdated syntax or features in 10 years. What if the stdlib does improve and adds functions that supplant these? What if they do so only partially? What if your functions could be improved to rely on a new stdlib function that's safer/faster/etc?
The app doesn't tell them so they can't cancel based on less desirable destinations.

Uber drivers have called me and said that they want to go to the airport, not anywhere within the city, and then driven in circles, &c.
I've updated the article to include a link to you response
University of Tokyo Graduate School Entrance Exam – Mathematics (2016) [pdf]
NY State Drops Teacher Literacy Test Seen as Discriminatory
Not really fair to call it a distro, you get the wrong impression, its was forked of FreeBSD 2002 or 2003
> No one here interested in the concept of not having direct human interaction for 27 years? Regardless of how he achieved it?

I guess we could also ask Thomas Silverstein. From his wiki page (https://en.wikipedia.org/wiki/Thomas_Silverstein):

> He has been in solitary confinement since 1983, when he killed prison guard Merle Clutts at the Marion Penitentiary in Illinois.

I'm betting there are other people in US prisons who have been in solitary confinement for 10+ years.
What really struck me was his ability to build a house, survive on his own set of tools and his contributions to science by keeping accurate logs on local climate and wildlife
It would give an "intuitive" explanation to why we can only see the inside of the universe.
Hairdressers, massage places (the fancy ones (e.g. resort spas) give you an envelope which explains tipping for foreign travelers), sometimes auto mechanics, maître d's (fancy restaurants get expensive when you have to tip the person who sat you, the waiter, the chef, and the sommelier), valets, parking garages where they park your car since it's so tight that all the cars are in a grid (common in e.g. SF), bell persons, hotel rooms (customary to leave some cash on the dresser, again fancier places usually have an envelope explaining it), pit bosses at casinos (you're buying favor), baggage handlers at the airport, gardeners / pool cleaners, repair persons in some cases...

Yeah, it's crazy and dumb and not changing drastically any time soon.
Is there any indication that their resulting blindess was the result of the stem cells, and not as a result of the delivery mechanism?
Microsoft's willingness to actively disrupt its users (whether it's through forced updates or artifical limitations) is indeed a tipping point for me. I always chose Windows for its convenience, and the fact that I could use it on my own terms. Clearly, this is no longer the case.

As for Stallman, there's a fine line between a madman and a genius. Reality has shown us that he definitely is not a madman.
It's only readable on my iPhone because it's a 6+, on anything smaller it would be infuriating and it's not ideal for me anyway. Not only that but in 'reader mode' the formatting is completely wrecked such the the content actually disappears. This is all a shame because my preferred way to read something like this is on a mobile device, although I suppose it could be semi-deliberate to nudge you towards buying.

Edit: I was assuming buying would get you an ebook version that would solve the mobile readability issue, but I don't see any mention of that on the 'why I should pay' or 'how to pay' pages. In fact it only mentions the 'web based book you see here'. Exasperating.
I agree, all markets go up and down. Hindsight being 20/20 and all that.

What I think I underestimated is the length the government or reserve bank will go to in order to protect borrowers at the expense of everyone else.
Great post, but most of it is relevant for all other languages as well.
Where did you see this?
I would like to repeat this comment here:

This is the sentiment I usually see but how are one's expenses or expected living standard is relevant regarding compensation for work? Imo it is very hard to argue against equal work => equal pay. At least from a moral pov.

Btw that is a lot of incorrect assumptions about expenses, including where someone's children might want to go to college, globally fixed costs like work equipment and cloud services, not to mention goods which are actually cheaper in the US.
Right now WebRTC and WebSockets are not a solution to wholesale replace Ajax based javascript polling; A LOT of established software and hardware HTTP proxies used by large corporates do not support the HTTP CONNECT protocol, and thus WebRTC and WebSockets fail.

I have a service that's used daily by a small community of people who are behind such a proxy. The service uses 10 second javascript timeouts to fetch new data from the server - This change in Chrome(ium) is going to totally break it.

I do agree that sockets are the way to go, I just don't think the rest of the internet infrastructure is completely there yet.
If it can't run windows 7 like older processors can, then I would argue it is not compatible.
That is insane. One thing is having poor performance because of the lack of specific processor support, and another not being able to use it at all.

Is there a bug in those new processors with backwards compatibility, or is it an evil move from MS?