skysight-inc/HackerNews huggingface dataset:
Ask HN: Where are optimized solutions to leetcode problems being used?
Of-course sorting problems are being used everywhere but I am trying to understand other applications which require that level of algorithmic knowledge as part of the day to day engineering work.
I don’t see how this is a great example of how functional programming sucks. It is easy in any programming language to build a slow sorting algorithm. The fact that you need to use different algorithms with immutable data is irrelevant. You need to use different algorithms for pretty much any type of data structure.

Functional programming makes a different set of tradeoffs than imperative programming. You have to work harder to get peak performance, but in many cases it is actually quite performant. Just look at how fast Elm is for web applications, and how that approach allows for a time-traveling debugger and virtually no crashes.
Cheers! We were thinking of a rename because only Australians/NZers know what a "Checkout Chick" is. :-)
That paper is already about 10 years old so I think you are being trolled.
I do not like write essays
Isn't it pretty common to get ulcers from merely stress / "psychological causes" and also pretty standard for ulcers to cause you to vomit up blood? I don't think this is strange....
Would a bastion host help here?
I think, not. We need to read books for free. Writing essays is not easy task for everyone I think. Because you need to have some writing skills and perfecr grammar. But I am bad at English so I will to improve my english proficiency in the future, sometimes I apply to https://anonymous-essay.com/college-essay.html when I need to write essay in time
I mentioned a bunch of popular books, not academic works. One of them had a multi-episode PBS TV show over 20 years ago! Since then, popular accounts of various famous and obscure aspects of industry history, biographies key people, etc have become even more common - I just picked some somewhat older ones.
What's new in Haxe 4 (just released)
If "Show HN" is any indication we should all just be running dumb terminals to connect to someone elses oh-so-generous cloud box.

The 80s called, they want their mainframes back...
I am a full stack programmer want to be "yet another CRM" system. If anybody interested, drop me an email.
Your post somehow remind me of the most proeminent excuse in the Nuremberg trials.

"We were just following orders".

You are right that regulation play a very important part into this, but this should not be a excuse to releave ourselves from the burden that in the end we are responsible for everything we do, even under orders, under a chain of command or whatever.

Proper regulation is a good goal, but in the meantime, making a ethical stand in what we do, is very important, because the moral corruption can spread faster than the regulation, and in the end, there will be no individual ethical behavior nor proper regulation.

People should not just try to quit their jobs just because they work in a big company (maybe) doing shady stuff, because you may be in a job that actually create something good, or even if thats not the case, you can try to move to another product or team..

But if you are working in a core part that are doing unethical things, i guess trying to hide behind the company can work like a placebo for your guilty, but i bet it wont work after a short period of time.
Command+Shift+4 on mac. And on Ubuntu there was something too, but I’ve forgotten the combo
I mean, Google Assistant absolutely supports location reminders. Just ask "remind me <x> when I get to work" and it'll... mostly work. Sometimes it's a bit late, but it mostly works. For silent, I think that'd be more of a Tasker/Automate thing, like OP.
You're right to quote some text that addresses the idea that "microkernels are slow", which keeps popping up.

To that, I add this article[0], which is sufficient in destroying that idea.

[0]https://blog.darknedgy.net/technology/2016/01/01/0/
Curious, is the 80Mbps shared among all browser instances?
https://imgur.com/a/gEIN2Ih
I find the discipline to go out and do what I don’t feel like doing is the key to fitness. Granted that is fickle and fragile. It’s cyclical - I go through periods where it works and periods where it doesn’t.
Why Peloton over an actual road bike though? A good carbon endurance road bike costs about the same as the machine, and the cost of accessories and maintenance is comparable to the cost of the subscription fees.

And you can join a bike group for like $30 a year and get unlimited live coaching for free from real people.

Especially right now the bike industry is transitioning to disc brakes, so you can get ridiculously good deals on brand new but older model year rim brakes bikes. And if you’re mainly just doing cardio on sunny days (as opposed to commuting in the rain or racing) then rim brake bikes are better anyway.
In a strictly legal sense, you may be right, but in a practical sense, I disagree. A form which asks you to actively supply information is different from overlooking a short passage in a very long, intentionally complicated ToS weeks before walking into a venue.

Further, collecting contact info aligns with the data subject’s goal, i.e. an impactful petition. With FR used for security, the goals are also aligned, i.e. a fun event. But for immigration control or marketing, the data subject does not benefit and may even be harmed by the data collection.
Or, worse, "who was the idiot that wrote this?"

... git blame ...

oh. me.
100%.

Everyone says it depends on the box(gym), the crossfit open ,the crossfit games, and works posted on the crossfit main site are definitely not for your average joe.

Crossfit in general will give you tendinitis and blow out your back eventually. It's just really hard to dial back your intensity while everything is a race. Anything for time that involves barbells and pullups will eventually cause an injury. I say this as someone who was doing it in 2008 - 2013 in the early days and helped coach. We all had level 1s and one had a level 2.

Edit. haha. Just checked out crossfit.com and it looks like they finally updated their site. It looked like ass even in 2013.

https://web.archive.org/web/20130305075530/http://www.crossf...

Second edit: If the bone and ligament injuries don't get you, the rhabdo will. We had a few older folks who started peeing brown and we finally figured out that their muscles were so blown out that they developed rhabdo.
>the author is confused about two different things: popularity and centralisation.

I strongly disagree. the author has noted the connection between popularity and centralization and points out its impressive drawbacks. The pluses are disruptive corporate profitability, the minus makes Church and Pike look like Tuskegee. Or maybe the other way around.
Are you certain that the story is as simple as "CUDA performs better"? It's common folklore, but I have seen little evidence. The only situations I know of when CUDA performs better is when CUDA-specific features are used (if they are relevant for whatever problem is at hand). Also, CUDA libraries (like cuBLAS or cuFFT) tend to be more efficient than their OpenCL equivalent, which is likely because much more work has gone into them. I have also noted that the CUDA compiler is willing to use less accurate (but faster) floating-point instructions by default (for things like e.g. inverse square root), where you need to pass options to the OpenCL compiler for it to do the same. This will matter for some programs.

In fact, I have run tens of thousands of lines of essentially equivalent CUDA and OpenCL code (automatically generated) on the same hardware, and performance was in all cases very similar[0]. If anything, CUDA was actually slower than average (but in the cases I investigated, this was down to arbitrary differences like the CUDA compiler not unrolling some loops as aggressively and such).

[0]: https://futhark-lang.org/blog/2019-02-08-futhark-0.9.1-relea...
I'm surprised that microkernel-like IPC still hasn't found its way into any *NIX system. The closest we've gotten is System V IPC, which has never really taken off.

Is this just difficult to design well or are people genuinely okay with socket(AF_UNIX, SOCK_SEQPACKET, 0)?
I appreciate this argument. I had not thought much about self-hosting with a couple of shell scripts. If I think back to when I built this, I think I did it because I wanted that, but I could not find a way to do it. In your solution, how would you stream the browser view to the client? Could you support mobile clients? Would they need to download special software?

Also, it might be easier and faster, but that sometimes comes as a trade-off with security. It's far easier and faster to just use a regular consumer browser on your device, but you get those risks.

Personally, I would feel a large amount of risk running a local VM versus a cloud hosted one. A local VM (sans Tor, sans proxy) would expose my IP, which could still be targeted. The VM could be escaped, I think more readily than a cloud machine. At the same time, I do think that a local isolated server would be a great option if you want to self-host, rather than doing that in the cloud. This is definitely something BrowserGap does.
The workouts are designed to be hard, not to increase your fitness. It’s basically fake exercise.
Just my opinion, but the two most useful pieces of information that helped me understand what this does and visualize where it fits were

1) https://deepstream.io/tutorials/concepts/what-is-deepstream/ > "What is it for" section

2) and your comment that it's an alternative to firebase, socket.io, meteor.

Perhaps you can think of using these two pieces of information as the front-page blurb rather than make it abstract.
As it's related to the topic: Mandatory reminder that SENS[0] exists.

[0] https://en.wikipedia.org/wiki/Strategies_for_Engineered_Negl...
# Permutations of a list:

- haskell:

perms [] = [[]]
perms xs = [ x:ps | x <- xs , ps <- perms ( xs\\[x] ) ]

- js: (using https://github.com/tc39/proposal-slice-notation for conciseness)

const perms = xs => xs.length === 0
? [[]]
: xs.flatMap((xi, i) => perms([...xs[0:i], ...xs[i+1:]).map(xsi => [xi, ...xsi])

# Cartesian product of 2 or n lists

- haskell:

cart2 xs ys = [(x,y) | x <- xs, y <- ys]

cartn :: [[a]] -> [[a]];
cartn [] = [[]]
cartn(xs:xss) = [x:ys | x <- xs, ys <- yss]
where yss = cartn xss

- js:

const cart2 = (xs, ys) => xs.flatMap(x => ys.map(y => [x,y]));

const cartn = (...args) => args.reduce((yss, xs) => yss.flatMap(ys => xs.map(x => [...ys, x])), [[]]);
// or recursive
const cartn = (xs, ...xss) => xss.length === 0
? xs
: xs.flatMap(x => cartn(...xss).map(y => [x,y]))
Automatic differentiation in Haskell http://conal.net/blog/posts/beautiful-differentiation
NPR the 2010s: The Rise of Bandcamp
That does sound highly secure. I like your set up. I definitely think there's room to roll this out onto anonymously leased LUKS-encrypted servers, over Tor.

What made you create such a secure setup? And what were the biggest challenges you in this?

I'm just starting this, so I'm using normal cloud servers. Other options I know people are interested in are self-hosting. I really appreciate your suggestion!
CUDA is ultimately an API. AMD even has a converter for transforming CUDA cuda to something more portable[0].

While it would be better in a democratic sense for GPUs to be accessed using a fully free API, having an easily usable proprietary API is still more democratic than a difficult-to-use API (especially when, as here, the easy-to-use layer is actually fully free, and can perhaps be retargeted to fully free lower layers later).

[0]: https://gpuopen.com/compute-product/hip-convert-cuda-to-port...
The settlement of legal cases here is an example of great injustice of our times that needs to be corrected.
Consider using Privacy Possum instead of Privacy Badger. It's a bit more thorough.
Shopping for groceries. I made a website which lets my wife and I pick recipes and any "one off" items we need for the week. The code figures out which ingredients it should buy (preferring organic / sale items) and then calls the "APIs" of our local grocery store's website to make the purchase. We then just have to pick up the pre-packed groceries on our way home from work.

It costs $5 for the packing service, but it's worth it to avoid the burden of shopping. No more tedious math on which is the better deal. No getting lost trying to find avocado oil. And no lines. I wish I had done this years ago.
For me: smr from 1995 ioccc, http://www.ioccc.org/1994/smr.hint
How can this be practically resolved at this point?
Anything for good PR for a military budget.
That got my unix account suspended at university....
I prefer the explicit example for being explicit, I find it more pythonic.

GPs example is perfect Python; every character has meaning, and it's extremely readable even for non-programmers.
Thank you for the cool screenshot! No. Also, the way that network ingress is allocated here is not something I'm tweaking now. The total ingress on this service is a lot bigger.

Can I ask how you feel the connection speed is? Laggy, fast or what's your impression? Also, is it too rude of me to ask what approximate location you are in?

This service is located in the US.
This isn't the Bill Gates Foundation help forums. Go send them a message yourself?
- 3D rendering in game engine

- geo-spatial related problem, path finding etc.

- geo positioning

- low level networking

- shaders code

- physics and fluid simulation

- GPU stuff

I mean everywhere there is a problem to solve, there is depth to explore.
Are you using wsl because AutoHotkey doesn't work on Linux...

Back when I was on Windows I used to have ctrl-c, ctrl-v mapped to F1 and F2 keys (using AHK). Why they don't have dedicated keys I don't know
Logo was the best!

I still remember my father ‘explaining’ me Pythagoras theorem when I was around 5 to show me how to draw the roof of a house on our hand-soldered Philips Apple II clone.

I’ve been hooked ever since.

The best thing was that 25 years later I opened a Logo emulator again and when faced with having to clean the screen somewhere deep, deep from my muscle memory the right command sprang forward: CLEAR
The decisions a database makes aren't semi-arbitrarily: they are completely based on your statistics. Usually wrong decisions are caused by outdated statistics.
A fully convolutional multistage neural network for 4× super-resolution for face
Ferris Fencing (programmable crabs with swords.)
he should have used that bribe money to buy syringes. They aren't expensive.
For me - I can't get hit by a car while riding my stationary.
>I try and keep the following in mind (even when my ego fights it).

>(A) I am very unlikely to be the smartest person who's ever thought about a problem.

My god.
Unfortunately it's also incorrect! It discards NaNs, as they are neither < nor >=.
Only white men...... Let's kill them of
I think one of the problems is that code is a black box to non-programmers. If I tell you that your car needs $2000 worth of work in order to avoid a $10K problem down the line, how do you evaluate that? Keep in mind that as far as you can tell the car is performing exactly as you expect at the moment.

Another problem is that especially in large organizations there are people who are literally trying to scam their way into money. You always have people aggrandizing their work, or belittling others. Especially as companies become profitable, they attract people who are only out for their cut. There are people who do nothing but attend meetings and try to scoop money into their pockets. This is the norm.

Now marry the two issues and you can see the result: someone says they have to do "special work" that will delay the project and that they are actually saving everybody else's asses. Nobody that isn't involved in doing the work can evaluate the claim. Are they just avoiding work/blame? How do you know?

I find that usually in organisations I work with, there is trust up to the D-level manager (i.e. those who directly manager developers), but there is often very little trust from other parts of the organisation (sales, upper management, or sometimes even program managers).

The best way to engender trust is to work as tranparently as possible. In the best of worlds you would deliver something every day and it would be obvious what's in the queue. Things would be in the queue for a very short time (say 2 weeks max). Work like refactoring, writing tests, improving build systems, etc would be just things you do every day and nobody would ever mention it. Of course, not everybody lives with an ideal situation, but I think most teams should strive to move their situation as close to this as they can (there are definite exceptions, though).
I don't know if Pakistan really has the resources. Last I checked, they were a very young country in terms of average age of the citizens. Poverty is pretty widespread, from what I gather.
Your bank has an API for that?
About Letter
I know this won't be an accurate representation, but sometimes I want to know how many hours I've spent on a repository.

I used git hours for this [0], but it's not well maintained anymore (has some problem on newer node version). I'm curious whether anyone else need this functionality.

[0] https://github.com/kimmobrunfeldt/git-hours
It still looks like porting idea, not like a shim that makes CUDA run on AMD. So I'd say CUDA is still locked to Nvidia. AMD are trying to ease up the transition to portable options - that's surely good, but it's not a full fledged lock-in unlocking.

I'd say, Nvidia are being hypocritical here, with this whole "democratizing" claim. They are direct beneficiaries of the lock-in they are advancing with it.
Why bother with a Salesforce equivalent when human traffickers can use the real thing:
https://www.cnbc.com/2019/03/27/lawsuit-claims-salesforce-wo...

* The lawsuit was dismissed recently under the premise that SaaS providers can't be held liable for what they're used for.. not that Salesforce wasn't used for it.
or propholaytics which do actually exist.
It can only be as harsh as SV's "Overton window" allows.

"It is difficult to get a man to understand something when his salary depends upon his not understanding it.”
– Upton Sinclair

> Bill Gates was the world’s greatest philanthropist, and you’d have been laughed out of town for suggesting — as presidential candidates and billionaires themselves now routinely do — that people as rich as him should not even be allowed to exist.

I've been doing that on this board for over 8 years and have been down-voted out of town almost every time.
I've been waiting for Atomic Vapor Isotope Separation (AVLIS or MLIS or SILEX) to let a small group or small state produce their first nuclear weapon basically outside the current nonproliferation controls.
assuming you’re not in isolation or alienated

That seems like a big assumption over centuries.
The concept of “literacy” is relative to begin with.
World's worst industrial disaster

https://en.wikipedia.org/wiki/List_of_accidents_and_disaster...

Union carbide is now owned by Dow Chemicals. Dow chemicals itself notorious for being one of the most toxic producing company on planet.

Even though there is great awareness in millenials about climate change, people has to understand earth as whole organism. To fix nature we must have to eliminate such chemical companies along with nukes.
Oh it's vanity press? That explains the...cover. You'd think Kernighan would have no shortage of technical presses willing to put something out on whatever terms he dictated.
I just got curious about hardcore "black hat" onion sites. And didn't want to get pwned.

But yes, self hosting. It'd be really cool if you could do something analogous to streisand.

The hardest part was doing RDP via Tor. Latency can get so bad that it's unusable.

But now that I think of it, I've also used remote Transmission nodes via Tor, running the WebGUI as an onion service. So maybe there's a way to access a remote browser as an onion service. There'd still be latency, but with less bits to move, maybe it'd be less problematic.

Edit: I looked at the BrowserGap link, but see no documentation. If I may ask, how does it do remote browser isolation? It's gotta be more than a proxy. But it's also gotta be less than a VPS, given that it's just a URL. Some sort of container, I guess.

And another question. Do you implement ad blocking?
I have a T-shirt with this Perl code on the back: https://www.perlmonks.org/?node_id=45213
On the assertion that Spanish radio listeners are primarily illegal immigrants, especially if it is to be used to justify mass surveillance.

I would also note that Nielsen rating are based on an incredibly small number of Nielsen listeners. Their system might be good enough for advertising, but not for dragnet surveillance.

Look, I get that if you are worried about illegal immigration, then using FR at Latin concerts has a rough logic. My point is that targeting ethnic groups for mass surveillance is not good for anyone.

(Note: I see where you said the government should probably not do that, but the rest of your post seemed to support the practice.)
I really appreciated and missed Scala's `Some`/`None`/`Option` [1] and `lazy` constructs, so much so that I brought them with me to TypeScript.

Option provides an elegant way to handle parameters or results that may or may not be defined.

Here's a simple Option implementation:

https://gist.github.com/mceachen/75598510275865b8cf88bb2ef80...

With this you can write something like

Opt(possiblyNullResult).flatMap(ea => functionThatRequiresANonNullResultAndReturnsUndefinedOrDefined(ea)).getOrElse(() => someDefaultValue)

And here's a (very) simple implementation of lazy:

https://github.com/photostructure/exiftool-vendored.js/blob/...

The idea of lazy is to allow deferment of expensive operations until they are actually needed.

The above implementation allows for something like:

const service = lazy(makeService)

Which will ensure makeService is only called once, and the first caller will have to wait for the result of makeService(). All subsequent callers re-use the first result.

It's a simple construct, but extremely handy.

[1] https://github.com/scala/scala/blob/v2.13.1/src/library/scal...
This brings me to a very nice regular expression. It is the one being recommended in

RFC3986 "Uniform Resource Identifier (URI): Generic Syntax"
by T. Berners-Lee, R. Fielding and L. Masinter

https://tools.ietf.org/html/rfc3986

to parse an URI. Having seen so many regular expressions, that try to match it all, this regex tries to match as little as possible, while, at the same time, matches any string, because it matches no string. It does not define what to match, but what not to match and making every match optional.

According part from the spec:

^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?
12 3 4 5 6 7 8 9

The numbers in the second line above are only to assist readability;
they indicate the reference points for each subexpression (i.e., each
paired parenthesis). We refer to the value matched for subexpression
<n> as $<n>. For example, matching the above expression to

http://www.ics.uci.edu/pub/ietf/uri/#Related

results in the following subexpression matches:

$1 = http:
$2 = http
$3 = //www.ics.uci.edu
$4 = www.ics.uci.edu
$5 = /pub/ietf/uri/
$6 = <undefined>
$7 = <undefined>
$8 = #Related
$9 = Related

where <undefined> indicates that the component is not present, as is
the case for the query component in the above example. Therefore, we
can determine the value of the five components as

scheme = $2
authority = $4
path = $5
query = $7
fragment = $9
It even says that he didn’t write it in that wikipedia page.
Who would you like to see held responsible?
I still don't "get" Peloton but my 90-year old grandpa has been active his whole life and is currently in love with Peloton. He's not one to get interested in any gadgets or fads but since his gym got a few Peloton bikes he can't stop talking about it. So there must be something to it.