skysight-inc/HackerNews huggingface dataset:
It's obviously not ideal, but it's not like you can recruit subject, do some baseline tests, and then prospectively assign some of them to a foreign embassy where they /might/ be caught in the middle of something.

Not everything needs to be an RCT, and we've learned a lot from case studies, especially where the "case" is due to some effect that's difficult or unethical to replicate. Some examples:

- https://en.wikipedia.org/wiki/Henry_Molaison and his bilateral hippocampal lobectomy taught us a lot about memory.

- https://en.wikipedia.org/wiki/Patient_DF has yielded some valuable information about visual processing streams.

- https://en.wikipedia.org/wiki/S.M._(patient) and the neural basis of fear (and, more generally, emotions).

- Barry Kidston accidentally invented--and validated on himself--a method for studying Parkinson's: (https://en.wikipedia.org/wiki/MPTP)
Scala/Akka has a much worse developer experience than Elixir/Phoenix. BEAM is fairly slow but you can make FFI calls into much faster implementations if your workload is CPU bound (most of the workloads I am familiar with in the web world are not).

Release less broken code to production? I am not sure about it either.
WOW!

In my 44 years - I have not met anyone else who says this other than me and a very small group of my friends.

:-)
instapaper. Whenever I find an interesting (long) article at work I save it. Then open instapaper on down time, e.g. waiting room at the dentist, train ride.
The border is not a park but there are parks on the border. Some parks are on the border but not all of them. Similarly squares are rectangles but not all rectangles are square.

Clearly the border is worth protecting and so are parks. I don’t see anyone disputing that in this context. You seem to be arguing against a straw man.

Your original comment dismissed concerns about protecting parks off the border by changing the subject to border conditions. This is whataboutism and is a logical fallacy.
It is possible to get good quality clients without an existing network. You will need a very strong portfolio website and do a bunch of cold emailing though.
Thank you for your message!

We are still writing documentation and we hope to complete it in the next weeks.

Flows are usable but our flow editor is buggy in Firefox, we are working to support Firefox as soon as possible. Meanwhile for a better experience you can use Chrome.

If you need further assistance to create some kind of flow just drop me an email to jacobo.vidal [at] arengu.com I will be glad to help you.
Not available for iOS, though.
> If it's not "open and inspectable" then it cannot be reproduced by another group/researcher.

That doesn't follow. They can (attempt to) reproduce with the same hardware, firmware, and drivers. They can reproduce with similar hardware from another vendor (AMD). If you're using OpenCL, you can reproduce on CPUs, albeit much slower and probably only for partial results. Maybe you want to break out some pen and paper to verify a few calculations of the CPU for even more partial results because you don't trust Intel's firmware blobs, even though you've presumably cross checked against AMD hardware, but you've gotten quite silly at that point.

Maybe some of these changes won't give you bitwise identical results - but then again, neither does most science. You check if the broad results and patterns are statistically similar. Maybe they are, and the results survive a large variety of similar but different test setups. Maybe they don't, and you discover an uncontrolled variable, like the exact chemical composition of the surface of your glass beakers being contaminated by impurities, or your AI being sensitive to the exact floating point rounding behavior of your GPU.

If anything, you want to see if your results survive variations in the uncontrolled variables, to make sure you've properly determined what factors are controlling the results.
One other minor perk of working fewer hours is lower taxes. The first hour you work in a week is taxed much lower than the last hour you work. (In countries with progressive tax systems.)
Long my favorite short story of all time. Greg Egan has some great short stories too.
As long as you don't have a funky setup, sure, but I've never been able to get AMD cards properly working for what I wanted to do (dual GPU setup, AMF on Linux, and multi-virtual monitors, ie 2 simultanious display on 1 monitor, or even getting the proper resolution from monitor behind an hdmi demux) , both with the opensource `amdgpu` AND the proprietary Linux drivers.
Erlang/Elixir has some really great advantages in concurrency and parallelism but what you're describing are just badly designed systems.

Shopify, for example, use Resque (Ruby + Redis) to process thousands of background jobs per second.

> * Require very specific ergonomics(for example, don't hand the model over, hand over the ID so you can pull over the freshest version and not overwrite)

This is good practice but certainly not a requirement. You can pass objects in a serialized format like JSON or use Protobuf etc.

> * They require a separate storage system, like your DB, Redis, etc. This doesn't sound big, but when doing complex things it can turn into hell.

ETS and Mnesia aren't production ready job queues, unfortunately: https://news.ycombinator.com/item?id=9828608

> * They have to be run in a separate process, which makes deployment more difficult.

Background tasks have different requirements so this is a good idea regardless.

> * They're slow. Almost all of them work on polling the receiving tables for work, which means you've got a lag time of 1-5 seconds per job. Furthermore, the worse your system load, the slower they go.

Redis queues have millisecond latency and there's no polling. Resque and Sidekiq use the BRPOP to wait for jobs. BRPOP is O(1), so it doesn't slow down as the queue backs up.

PG has LISTEN/NOTIFY to announce new jobs or the state change of an existing job so there's no need to poll. SKIP LOCKED also prevents performance degrading under load.

> * You can't reliably "resume" from going multi-process. Lets say you're fine with the user waiting 2-3 seconds to have a request finish. With workers/queues, you either have to poll to figure out when something finished(which is not only very slow, but error prone), or you have to just go slow and not multi-process, making it into a 8-10 second request even though you've got the processing power to go faster.

There are multiple other options here which are better:

Threads - GIL allows parallel IO anyway and JRuby has no GIL

Pub/Sub - Both Redis and PG have a great basic implementation usable from the Ruby clients

Websockets - Respond early and notify directly from the background jobs
Where did he steal the technology from?!
The Folly of Hiring Winners and Firing Losers
What about a 401k? On my Fidelity account I can choose where the money is allocated. Should I shift it into something more stable (money market fund)?
Games are made to keep you occupied, to keep you engaged to give you a sense of accomplishment without any real accomplishment. It's a bit of a hack if you ask me. What really makes you feel accomplishment? What aspect in those games? What do you enjoy? I get that a twitch channel has entertainment value and can be work but in that sense (a source of income). But expecting to be paid for pure, passive entertainment is pretty unrealistic.

Still, there must be a component of your work that you like. If not, there must be some work out there that has such an element? I can not believe there are humans that really only want to sit on a couch with a controller playing a game. I think the situation is pretty troubling in that case. In that case you are only consuming, that has never worked. Same goes for eating.
Being "Swiss made" does not make me trust you more if you are proprietary. Privacy and proprietary software are mutually exclusive.

That's a big disadvantage you have in front of Signal, Matrix and alternatives.
Ask HN: Landing page best practices and ideas?
In the same vein as the go-to web stack today, how are people creating landing pages?

To start the discussion - I've done a lot of Python and .Net development so my plan is to create a server rendered page with either .Net Core or Flask and roll my own contact form and email collection function.

I see there are a lot of landing page templates, another idea is to check the licensing on them and see if I can stuff them into a jinja2 page and add the functionality I need for submitting a form securely (all I need is email and a few other things).
If it’s self hosted do you see it as being free software or you’d pay an upfront cost for a license? Would you use a hosted web application if none of your data was uploaded?
Thanks for doing the research. Even with smartphone sales peaking, and assuming massive growth in games industry which I’m not totally convinced about, the market for reality is still significantly bigger than the market for escapism. Always has been and hopefully always will be. Otherwise we end up like those poor saps in the Matrix, living in a simulation while feeding the corporate overlords with our mental and physical energy. Oh wait...
Is this a sign that Apple might be preparing to kill the Apple TV box? Perhaps they see the future as being native smart apps inbuilt into the TV.
I also use kdenlive quite extensively and while I get a crash here and there, KDE asks me to restart the app and it then loads the file with the last edits. I don't think I've ever lost edits.

I've done about 25 hours of 4k so far and it's actually not that bad (i7 4770k/16gb ram/ssd).
What lead you to trust Google more than Mozilla or even put them in the same level of trustworthiness?
The same can be said for a lot of jobs though, restocker at wall mart comes to mind, with the added benefit of bad treatment by the customers.
Here's the link to Process Explorer: https://docs.microsoft.com/en-us/sysinternals/downloads/proc...

It also has an option to replace Task Manager so that it comes up when you do Ctrl+Shift+Esc, etc.
In the end did it matter? Most of the ISPs who were on the "right" side of the debate ended up bankrupt or acquired by legacy telcos anyway.
Are you actually bothered by widespread litter or sewage spills or off-trail hiking, or is that just something convenient for a political fight? Actual concern would mean you want to save Organ Pipe National Monument and Big Bend National Park by building a wall to protect those fragile desert ecosystems. The shutdown, assuming it results in a wall, would prevent lots of lasting damage.
How to Start Learning Computer Graphics Programming
If handles and setters/getters can be used, then it opens up the possibility of defragging or 'garbage collecting' the memory.

A neat trick could be to be able to 'trim' the data used by the handle, then when it comes to defrag time just deal with the remaining part and free up the trimmed space.
Rendering Unity Scenes Within a Google Cloud Function
Thanks so much for this. It feels like I've got some of the browser back. I avoid using tabs, I have them mostly disabled by default. This frees up the screen space taken away many years ago. This bit of chrome gives me the equivilent of the missing menu item: View > Toolbars > Hide Tab Bar

~/.mozilla/firefox/*.default/chrome/userChrome.css

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

/* https://news.ycombinator.com/item?id=18836189 */
/* Hide tab bar in FF Quantum */
@-moz-document url("chrome://browser/content/browser.xul") {
#TabsToolbar {
visibility: collapse !important;
margin-bottom: 21px !important;
}

#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
visibility: collapse !important;
}
}
The aether is not required, assumed by or contained in the equations. Its existence was a physical hypothesis which was discarded after Einstein's work on special relativity and a multitude of related experiments.
I don't like that the source code is not fully open so I prefer Signal. I think the only thing holding Signal back is a proper UI. I use it with few people but for most people it's just unusable.
FBI Investigating Fake Texts Sent to GOP House Members
I found the emphasis helpful
How do these apps generate revenue? Do they sell stickers etc?
If I'd decide to keep the secrets in the repo, I would have them encrypted with e.g. GnuPG and put a key in the CI's environment variables.

# Something in lines of this...
# TODO: Make sure the keyrings are on tmpfs, too.
# Something like export GNUPGHOME="/run/gnupg" && mkdir -p "$GNUPGHOME"
gpg2 -v --import <(echo "$GPG_PRIVATE_KEY")
gpg2 --decrypt --output /run/secrets/credentials.json lib/credentials.json.gpg
ln -s /run/secrets/credentials.json lib/credentials.json

For this I have to trust the CI, of course... And given that CI jobs run in isolated environments but on a shared hosts, there could be a way for malicious party to access the data. IIRC, there were some exploits that break out of Docker.

If you host in the cloud that offers a KMS (AWS, GCP, Azure), a slightly advanced alternative is SOPS: https://github.com/mozilla/sops (you can use that with GnuPG as well)
No multi-GPU support (at least 2 years ago, using the binary drivers), no AMF support on Linux, and couldn't get multi-display support on a split screen. AMD is fail for me...
> I’ve been integrating a bootstrap framework

You do this for legacy systems. New systems should not use Bootstrap, there is much better out there.
That is intended behavior. Game ending moves are not allowed. See the explanatory blog post: https://incoherency.co.uk/blog/stories/chess-steg.html
I own a batman.tld, no idea what do do with it though, any suggestions?
Are people still using iTunes?
Try Anki — it works great!
Location: EU (Croatia)
Remote: Remote only, in the short term, preferably EU timezones
Technologies: Backend/DevOps, AWS, Linux, Elixir, NodeJS,
PostgreSQL, Serverless, CI/CD, Docker, Git
Résumé/CV: https://bit.ly/2GTMD34 (in)
Email: hire{at}rockstarwizard{dot}ninja

Hi there, are you looking for someone with experience in Elixir, DevOps and Backend to work on your project and help push it to production and/or improve DevOps processes? Is your stack anything like the list of technologies above?

I'm in luck then since I'm probably targeting a narrow niche here :)

A slice of me in tech: I strive for simple over sophisticated especially when just starting out, I take system and data/db architecture serious bc I believe a solid foundation is a must for building a good system, I like using work queues for better robustness and decoupling, when it comes to scaling parts of a system I'll take serverless over a microservice any day if the tasks is suited for serverless.

Most recently I spent ~2 years as tech lead on a SaaS product with Elixir/NodeJS codebase which we took from zero through YCS17 to production. I hope to put some of that experience to good use by helping others do the same.
The features of github means the data can't just be left encrypted all the time. No matter what, github employees are going to have access to your code. If you absolutely require security github enterprise is the on-prem way to remove the risk of a rogue github employee (to just the risk of your own rogue employees)
You are not comparing apples to apples here. You’re talking about setting up MX records vs memorizing an IPv4 address. There is no way that pxtl@random-IPv4-address is how you’re handling your email.

If you can run a server securely on the public internet, you can set up a domain name. To pretend otherwise is a little absurd. Frankly if you can’t set up a domain properly in DNS, you probably can’t successfully manage to forward a port to your server anyway.
It's not until now, over 20 years later, that I realize what a magician my E&M prof was. After months of careful development of basic E&M, Maxwell's equations simply fell out. As I recall, it was capacitance that was the impetus. It was as though we had struggled in a dark tunnel for months and suddenly came around a turn and there was light. Not a little, but sheets of daylight and all the equations just fell together, one from the next. All the equations revealed themselves from the middle of one lecture to the middle of the next lecture.

And then, in E&M 2, with a different professor, I spent the entire semester coming to grips with the fact that the implications of these formulas would challenge my grasp on reality for the rest of my life.
What's the situation re inheritance tax for property wealth v other wealth in your country?

From what I'm aware property is generally treated the same as, or more leniently than other assets. Your comment seems to be saying the opposite? Or am I misinterpreting?
So if chess-steg were written in C, one could play a chess game with a malware bootstrap payload!
My ideas I find most valuable are product ideas. I stand my iPhone in front of the whiteboard and explain the idea in one video.
Only decode, there is no va-api support for AMF, say to get hardware HEVC encoding.
Are you mainly talking about clustering?
Structured concurrency (Kotlin Coroutines)
Nostalgia, gifts, hobbyists.

I’m actually impressed with the vinyl niche/trend - Compact discs only sold 70 million (plummeting big time) last year compared to vinyl at almost 10 million.
It always pains me when people write about software without mentioning what platform it runs on. Even after clicking on the project page link in the article, you have to go to the downloads to find this information. As it turns out it's available for Windows, Mac, and Linux, so this is a little less objectionable than other instances of this problem where I read about something only to find it's only available on a single platform.
Oh man, Asimov was so bad with futuristic ideas. If you'd like to read good thoughts about future, go for Stanislaw Lem (Summa Technologiae, Golem XIV)
Aren't the two very closely related, if not equivalent? Differential forms and Geometric Algebra I mean.
What you are saying is fairly correct, but I don't agree with your conclusions.

> There are studies showing that the highest margin taxes in Sweden actually lose more money than they make, due to dynamic effects. In other words, Sweden is far to the right on the Laffer curve.

Progressive taxation isn't merely about tax revenue, but income equality. You can't have a welfare state without much of the population being in "the middle".

> And since the 20% margin tax on top of that kicks in already at the equivalent of ~50k USD a year »pre-tax«, this creates a situation where it is very hard to build capital just by working.

That is true, but ignores the fact that it is simply also hard to make a lot of money. It wouldn't be unreasonable to be able to save €30k a year as a high income earner in Sweden. That isn't rich rich, but certainly wealthy.

> Earning money with money (tax on capital is a flat 30% - or potentially even way less [...] Or have bought real estate when it was 50-90% cheaper (that is, 5+ years ago). [...] In practice, this creates a system which hampers class mobility in Sweden. Even if you are in top 1% of wages, it will take decades for you to catch up to the capital gains of someone who bought an apartment close to Stockholm five years ago.

I agree that this is a huge problem. But I find it very unlikely that you would solve this by lowering the top tax rate. Most people who make money from capital would already be, or put themselves, in such a position. I would support lowering taxes on work in general and increasing taxes on capital, inheritance, loans etc. But that is unlikely to happen.

Basically I don't think the tax rate is unreasonable, but the low taxes on and high cost of e.g. housing definitely is. This is just a problem a problem with earning as much as someone who bought an apartment 5+ years ago, but if you don't own an apartment (or got into the housing market later) you will be paying 2x-3x what they are doing for housing while you are trying to catch up.

I would move from Sweden for this reason if it wasn't for wanting to be close to my family.

(And personally I wouldn't call Sweden fine from a wealth equality perspective).
Can't see how that would work. As that would be like Apple putting Apple Music on Android and killing the iPhone. The samsung method will be a degraded experience but one they are willing to allow to increase growth. Like when they allowed iTunes on PC finally even though they knew it wouldn't be as good of an experience but was there only way to continue to grow. I think it's a great move on their part if they have a chance with competing with Netflix.
I see it is as a sign of them giving up on making their own TV (I thought it might have been a rumour, but I might be wrong).

What I find more interesting though is the timing: a deal like this would probably have been in the works for months in advance of the Tim Cook investor update earlier in the week. Apple would have also had to make the software for this version of iTunes too. What chipsets do these Samsung TVs have? Is it similar to one for an Android phone? Could iTunes/Apple Music show up on Android next?
I agree with this but am always skeptical of the YIMBY side of things. At least as I understand it, YIMBYism is advocating for deregulated real estate development markets? So maybe my understanding of it is skewed, but I can't really see real estate developers making cheap housing a priority in an expensive neighborhood when they could profit from building more expensive housing. Especially now that housing can be bought as an investment and held but not used. I just think "market based solutions" aren't going to fix homelessness. Good ole fashioned public housing might though, real public housing, not projects owned by private corporations and subsidized by tax dollars.

This letter isn't really talking about YIMBYism so I'm probably just assuming any anti-NIMBY writing is pro-YIMBY which is probably inaccurate. I do see a lot of YIMBYism on HN so perhaps someone can set me straight on it.
It is a real problem, I've seen heated discussions in a few companies, and it can take out a big part of the fun you have in your work.

We really need to write an editor plugin/solution for this. Your editor should show the code in your preferred style, but saving it in the team's agreed style. And then a local-style.js for your own settings, and a team-style.js for the team settings. local-style.js in the .gitignore. Should be possible though?
I really hope not. The Apple TV far outpaces 'smart TVs' and other set-top boxes in terms of UI and stability.
It appears to me that once a society becomes large enough a majority of the problems left to solve are collection action problems, I think the housing crisis in West Coast cities in particular is an example of a collection action problem.

I keep up with the NIMBY/YIMBY divide both in my home: Portland, OR and in the Bay Area. And I've noticed a few trends: You can't build high in certain areas because it blocks the view for wealth homeowners, you can't build moderate density buildings because it "changes the character of the neighborhood", you can't extend rail into certain areas because rail bring minori-- eh, crime. And you can't build near existing rail because it should be up to each individual community to decide what gets built in their location.

Where are you supposed to build? Something has to give, and it looks like as always its poor folk who are suffering. Being pushed out further and further with a lack of adequate transportation support to get to urban job centers.
Spelling not so much.
I understand commit can happen without physical page file being written to. But you say commit can happen even without any increase in virtual address space usage? That seems strange, could you explain how it can happen?
This app in particular costs money.
I don't see any practical reason not to use Davinci Resolve, which is free (as in beer) and miles ahead of the open source editors. I used to be quite fond of Kdenlive but having used Resolve for a couple of months there's no way I'm going back.