skysight-inc/HackerNews huggingface dataset:
My understanding is that if you’re long a stock that the brokerage needs permission from you to loan the shares you have to other short sellers.

For example this program at Schwab [1] where they actually pay you a small interest rate to borrow your shares.

Can they lend out your shares without permission?

[1] - https://client.schwab.com/secure/file/P-5182696/MKT33373-05....
I think Lua 5.3 can yield at those places as well now.
There's always the BSDs.
> Are there any HN readers here that use MINIX or possibly another OS that does not have the Linux kernel?

Like... Windows?
When I first studied compilers, I was amazed that writing a compiler used every other subfield of computer science I'd studied. It's the acid test of language design. A language that can easily be used to write compilers can do almost anything well.

And every non-trivial program I've worked on is 90% of a compiler. (You could describe compilers as just "some business logic in the middle", too, if you were in Architecture Astronaut mode.) You don't think HTTP servers use "pattern matching"? You don't think API endpoints would benefit from "ridiculously easy" testing? This is your bread and butter.

This article is showing how to implement if-statements and null-checks in Haskell, and reduce your code size by half. I bet you have some of those in your software. I'm not sure how this could be much more relevant, without reducing its usefulness by being overly specific.
By keeping democracy in check:

https://politics.stackexchange.com/questions/8793/what-did-j...

There’s no explicit mechanism, but our politicians read this and study it. Academics know, and consider the Constitution an aristocratic document, protecting elite power.

See it’s bailouts and tax cuts for the rich, and inequality, wage stagnation for the masses. The emotional programming for that comes from somewhere.

The laws of physics only dictate who is economically advantaged in that they dictate how our brains work. And our brains are then easily emotionally manipulated into believing bullshit.
it's a literal stand up so people don't dither.

lot easier to become restless standing around than sitting down.
It's more like traffic lights being turned off.
What solution do you know for getting two clients behind CGNAT to talk to each other reliably, without relying on a third-party service?
Do I need to be familiar with all the backend technologies? I am mostly a Python/Java/C++ guy.
Why is that ridiculous? Investment is a good thing -- it should be encouraged.
Just out of curiosity are iPhones sold at a loss? From recollection they aren't. In most consoles the console itself is a loss leader for software sales so it wouldn't be a good direct comparison.
That's not what I was asking, but I'm fine with leaving it at that.
Machine read 3.5M books and told us what it thought about men and women
you should have quit on the spot.
How to successfully launch your product on Product Hunt?
Which is fine and dandy until the day you're a target. Power is a sword that cuts both ways.
If you have ever played a card game where you have to guess if the next card is going to be higher or lower than another card, this should not be a surprising result. You should always assume the next card will be the average of all possible cards. What makes these kinds of games fun is having to recalculate the average card in you head based on the cards that you can see.
But many race conditions are harmless. 'Fixing' those that are with extra synchronisation is not a good use of anyone's time.
Dealing with the messy real world with exceptions to rules and evolving shape of data vs writing compilers and other internally consistent closed systems.
...and that was only because of the early election on the back of the Falklands dividend. They were shaping up to lose badly until then, or at best a hung parliament.
Sure. Here you go.

https://news.ycombinator.com/item?id=21024494

As for libraries we use heavily (in no particular order): Yesod, Persistent, Esqueleto, Lens, Lens-Aeson, Hedis, STM, Wreq, Shakespeare, Hspec.
I have a NexDock that I think was a kickstarter a few years ago that is a dumb laptop (hdmi in, usb for charging, bluetooth keyboard and mouse) that could be plugged into a phone. Used it for Raspberry Pis and Intel Compute sticks for a while.

I am hoping I can do this with the librem5 and a dock.
What links do you need? If you know anything at all about the Haskell ecosystem, you already know where to find all these papers/sites/presentations about arrows, pipes, lenses and what not.
Would you live with a less secure but faster platform rather?
We have essentially the same thing in the UK, called Gov Verify.

https://www.gov.uk/government/publications/introducing-govuk...
That was an oversight from my side ;)
Why do people seem so hell bent on proving this guy is a liar and or covering something up ?

I always detect this really doubting vibe in comments regarding this project, why ?

What is the reason a young man who started this project out of almost pure love and compassion and in my opinion, has been completely transparent about other failures be seen as sneaky ?

What would there be too gain for him ?
What are they meant to do if the world starts burning at 4am? Wait until a reasonable hour? Oncall fires at 4am suck but they're part of running critical services.
+1 for Preact! Shout out to Svelte as well.

If you can, don't use it to render entire pages. Use it for only the dynamic parts.
I think self driving is a poorly thought out goal, and driven more by the cult of AI than by sound engineering. I don't believe it is actually possible, except in very restricted areas. It's more one of those things that someone took from a sci fi show than a real engineering problem. I'm not a fan of those kinds of technologies. Making Concorde cheaper is just optimizing something.
I swear by OpenBSD. I use it on my home server. I use it to write C code (their C standard library has a few very nice things, such as arc4random, strl{cat,cpy}, explicit_bzero, timingsafe_memcmp, libtls, and other things that I run into often enough that I don't want to think about them before I start adding portability stuff).

Of course, it's not much of an option for anything I require proprietary software.
But it's not an incremental step. The French government already had that database. This is just using the data they already had in a new way.
> Indeed, "biometrics are usernames, not passwords".

Biometrics are neither. They are a completely separate factor in authenticating a person, and used in different scenario's.

Biometrics have advantages and disadvantages based on your threat model. For example, unlocking your laptop with a fingerprint while working on a train or plane might be preferable to a username/password because the risk of a shoulder-surfer may be higher than the risk of someone lifting your fingerprint.
You know, some people's destiny is to teach yoga and make pictures with cute African-looking kids. Other people are destined to optimize financial services so there are cute African-looking kids willing to take pictures with mediocre yoga teachers in the first place. All is balanced in a perfect world.
As far as I understand, performance is not a valid concern.

For example, from dvyukov's KTSAN wiki [1]:

Given a sufficiently expressive atomic API and a good
implementation, you pay only for what you really need (if
you pay just a bit less, generated code becomes incorrect).
So performance is not an argument here.

[1] https://github.com/google/ktsan/wiki/READ_ONCE-and-WRITE_ONC...
CoLab Software (YC S19) raises $2.7M (CAD) after Y Combinator demo day
We're already past 768k and are now around 800k[0].

[0] https://bgp.potaroo.net/as2.0/bgp-active.html
This is where good docstrings come in handy. Personally, I think a dict with parameters is better than an endlessly growing method parameters. You can control it a bit further by using tuples instead of dicts for the same idea.
> As a bilingual/fluent but not native English speaker 'piece of ass' always contained at least an element of beauty.

As a native English speaker it does not contain that in itself, though it's frequently accompanied by a positive qualitative assessment of utility as a sex object (very often also dehumanizing by using wording traditionally used for objects rather than humans, e.g., “that’s a fine piece of ass!”), which assessment is often based on appearance (and frequently accompanied by nonverbal communication or other context which clearlt—often lewdly—indicates that the qualitative assessment of sexual utility is based on appearance, often quite specific features of appearance.)
> Are there any HN readers here that use MINIX or possibly another OS that does not have the Linux kernel?

I use macOS all the time. My use-case is systems programming.

I also uses iOS on my phone.

Or is that not what you meant?
I've always wanted to try spearfishing, it seems like a real sport, unfortunately it's banned in my country.
But it's an extremely narrow view. It's a single concern, that requires ignoring all the other concerns. And in this case it's not a mere disagreement: every European living in the UK will be subject to the inconvenience and expense of settled status at best - and not all of them are eligible. Plenty of people have been handed the life-wrecking answer that they aren't eligible for settled status and have to leave their home or eventually the Home Office will deport them. I see no reason why those people should forgive.

( https://migrationobservatory.ox.ac.uk/resources/reports/unse... )

Wanting to leave the EU is an opinion. Voting to leave the EU is an action. That action has imposed a lot of costs and inconvenience on people, seemingly for no good reason. Why should those people forgive?
Yeah me too.
I mean, he is building his channel around this character of being 'the tech lead'. It's a youtube personality. Don't take it too seriously :)
Another strong recommendation for Schwab. The customer service has been stellar for years. I do hope they invest more into their UI and mobile app. That's the only thing that's slightly lacking. It's usable though. I've tried Simple and other "tech" banks and they've been terrible in comparison. Simple was a disaster there was a period where people couldn't login to access their accounts multiple times over a week because of their 2FA system having issues.

You know what the response was? Sorry you're locked out, we can't do anything about it, wait a few days.
All of my comments are dead, because dang is punishing me for my political views.

It’s similar to Google or Facebook hiding conservative viewpoints in feeds.
Seems very tricky, almost by definition, to rely on a race condition?
Do you guys have your own commonbooks?

I have written an app in electron for myself, based mostly on zettelkasten ideas from Archiver, but with more shortcuts and a Little different flow. I find it very useful
There's obviously a bit more to the story. Japan used Koreans as labor force in the occupied territories. For that to have been possible they must have built factories there.

https://www.reuters.com/article/us-southkorea-japan-laborers...
If you actually want to be fired, find a new job and quit.

The best thing you can do for yourself is to take responsibility for your part in a toxic relationship. Don't wait for other people to make your life decisions for you.

Before anyone starts in with the "but there aren't better opportunities"--if that's really true, you don't want to be fired, so what I'm saying doesn't apply to you.
An impressive implementation of a web UI is Figma:

Figma is written in C++ code then run in the browser by cross-compiling it to a subset of JavaScript known as asm.js. The asm.js subset is basically JavaScript where you can only use numbers (no strings, objects, etc.). This is all you need to run C++ code since everything in C++ is either a number or a pointer to a number, and pointers are also numbers. The C++ address space is just a giant JavaScript array of numbers and pointers are just indices into that array.

Of course wasm is more performant as it matures, but they’ve been at this since 2015 and I’m impressed by how responsive the app is.

https://www.figma.com/blog/webassembly-cut-figmas-load-time-...
How does rust negate data race conditions? These aren't memory errors.
The funny (or tragic) thing is, treating a version of Agile as a religion that's right for all teams all the time is against everything that Agile actually is.
I take "I could care less" to mean "I could care even less about this than I already do, that's how little it matters to me", but that could just be me trying to rationalize a mangled expression.
Sure, they exist. But pointing out that they exist is not "show me what I need to know to do what I do."

Instead, the next high-profile HN Haskell link will be the thousandth demo/intro/tutorial that yet again implements some core data structure.

Rather than showing how Haskell is great for working with databases.

Or working with Kafka.

Or integrating with AWS.

Or parsing text.

Or running microservices.

Or any of the other hundred things that I'm going to do a dozen times before I need to reimplement binary trees.
I suppose it is much more common that CTEs are used to make queries more readable (I certainly do!). If this is the case, I feel making the common case the default behavior (inlining) is preferable, which is what PG12 did. It also is less surprising behavior in my opinion. The old behavior can be enforced using the MATERIALIZED keyword with the CTE.

However, I agree that this will make me go through every CTE I use and make sure there is no MATERIALIZED keyword missing. And I already know quite a few where I, like you, use CTEs to prevent recomputation and promote reuse. I will likely add the MATERIALIZED keyword there for clarity, but inlining will only happen if the CTE isn't used multiple times anyway (they will also not be inline if they have side-effects or are recursive).
New Uber App to Pair Gig Workers with Employers
Because Sony also runs a walled garden and artificially gates their hardware. The existence of an open pasture software marketplace doesn't magically make other walled gardens disappear.
This is very, very good. Congratulations.
Ah, no. Those are caused by don't care states in the logic of the PLA instruction decode block.
How long will it typically take AWS to add this as an option for RDS?
A similar world I would put up there as well is 'run'. Run a business, run a program, physically run
For the same reason we are upset at apple, you should be upset at Sony.
I think by definition, you are wrong. If the race condition was harmless then it wouldn't be a race condition.
I've built a collection of Android musical instruments [0] and Lua was big win for the project. I was previously familiar with Lua and Love2D framework and I wanted to see how far I can push it. The language is expressive and lightning fast. Very few building blocks that fit together nicely. I dig tables as first class objects, and meta-tables to turn them into complex objects or call delegation mechanism.

My favorite feature is that it's interpreted. The Android app is just a runtime. I can edit source files right on the phone and re-execute. It's awesome prototyping platform.

[0] https://github.com/jmiskovic/hexpress
>When the proportion of meatless options doubled from one to two of four choices, overall sales remained about constant. But sales of meat-containing meals dropped, and sales of vegetarian meals, such as “wild mushroom, roasted butternut squash and sun blushed tomato risotto with parmesan”, rose 40–80%.

So they cut the available meat options and doubled the available vegetarian options and find it surprising they sold more vegetarian food? Making things unavailabile does tend to have that effect.
I moved to the US as an adult ten years ago and the banking system was surprisingly behind - I finally understood why PayPal existed, for instance. And I had to write my first check - lots of them!
A Pretty Good Summary of Lean, Agile, Scrum
Indeed the function of the hyphenation is to avoid confusion with the homograph.
> How would you feel if Apple brought the same philosophy of iOS to macOS (assuming you use mac)?

I wouldn't be OK with that, and I've said so in other comments here (like when they announced the additional security features in macOS during this year's WWDC - which I appreciate, with concerns), but the iPhone/iPad/etc. are different classes of devices, and I'm fine with their restrictions. They make sense there.

I do prefer the Mac App Store to downloading from random websites or manual updates. How is it "fucking useless?"

Matters of convenience aside, see the Transmission BitTorrent client ransomware fiasco for a grave example.

If someone really really wants to circumvent the App Store on iOS, distribute it via TestFlight, or make the source code available and ask users to compile it on their own Macs.
TopM HTTPS Analysis – September 2019
Less relevant than ever? Do you not think that MDB's API is part of what makes it so fantastic?
Chaos Scientist Finds Hidden Financial Risks That Regulators Miss
1) this doesn't affect settlement times (which are another scam the industry pulls) 2) that's a mutual fund, so it just works differently.
It's really not much of a bugbear anyway. I actually found it useful to see it was built in Unity!
Strength training has been the single most effective way for me to influence my emotional state.

Strength training is different from ‘exercise’ in that you’re progressively becoming stronger over time by repeating the stress and adapt cycle to build lean muscle, bone density, neuromuscular capacity, and joint strength.

The chemicals/hormones this natural process produce reshape your perception of the world. It’s really powerful stuff. And it’s really easy to do.

There are excellent programs to accomplish this which even if done poorly produce dramatic results.

I’m speaking from personal experience.
Sounds more to me like "The FTP RFC is in dire need of an update."

I see no problem with that. Perhaps the author would be interested in looking into that?
My theory of literally is that it's being used to indicate a literal rendition of the speaker's mental state. So it doesn't mean figuratively, it means "this exclamation is the most direct rendering of how I feel about this. " That is, it's literal because nothing was changed from the verbal impulse that immediately sprang to mind.
Weird UIs were what I miss the most about the web in the late 90s. There were no rules, and people were just winging it. I remember my friends making websites for their bands and bragging about how they made it so hard to use, that it was like a secret club if you figured it out.
I agree. I'm not denying this. This is exactly why it should be called dominance and not privilege. And it does have real impacts on both groups.
How would you prefer to measure it then? Any reasonable measure of diversity you come up with, India will score highly on.

Skin color? India has the whole spectrum from dark brown to people who could pass for southern European.

Religion? India has a huge variety.

Economic? Everything from some of the poorest people in the world to multi-billionaires.

What percentage of the population's ancestors has been enslaved by other parts of the population's ancestors? Still very high.

Please explain how you are measuring diversity if you want to make the outrageous claim that India is not diverse.
You can force JS to treat a Number type as an integer. It is uncommon and a bit more verbose.

https://en.wikipedia.org/wiki/Asm.js

I agree though. Dealing with arithmetic (or with Dates) in JS can be painful.
Try build a complex website with complex journeys and a component architecture and you'll be begging for React.

It's probably because you haven't seen the light. I'd never ever go back to using jQuery unless it was for a basic marketing site - even then I'd probably think of using Vue if anything got more complex than a carousel on the page.
Historically 5 to 6 months, unfortunately.
Current employee here if anyone has any questions about open positions or the company in general!
Wish they could improve the language syntax. It's so unnecessarily verbose. Moonscript did a good job improving Lua.
To play the devil's advocate here: no post speaks about any serious disadvantages of Haskell.

So, for a programming language that has so much to offer, why isn't it adopted more?

Could it be that it doesn't actually increase productivity to such a degree to justify the cost of change?

Legit question, I am not trying to be a troll.
> if you’re talking about running arbitrary software then try loading “Uncharted: The Lost Legacy” on your PC or laptop.

See https://pcsx4.com/compatibility/

The fact that consoles don't allow side-loading apps is a relatively common criticism of consoles, and one that hackers regularly try to fix. I'm grateful for that. I rather like being able to run emulators on my 3DS, or being able to back up save files from the Switch.

Of course, people don't get as upset about locked down consoles, because consoles are a superfluous entertainment device -- consoles don't really matter for anything. Phones are a lot closer to a laptop in functionality than they are to a console, and the effects of restricting software on a phone are more directly equivalent to restricting software on a computer than on a pure entertainment device.
Location: Bristol, United Kingdom
Remote: Yes (have experience)
Willing to relocate: Yes - happy to relocate to London or NYC if option is available.
Technologies: Ruby/Rails, C#/ASP.NET, SQL, JavaScript - I'm happy to try anything.
Résumé/CV: https://www.linkedin.com/in/mikejpbull/
GitHub: https://github.com/mikebull/
Email: hello [at] mikebull [dot] info

I'm a backend developer with nine years experience in industry. My experience is mostly with startups and agencies, with a number of successful and large-scale projects. As noted above I am happy to work with any modern tech stack, and I am now actively looking for new roles to start ASAP.
Can you take a scooter on a highway?
That's just terrorific!
Wasn't gait recognition much better?
OS X for both home and office. My problem is not with h/w but Windows OS. To me Win OS of current hasn't changed much from Win 98. Changing themes and introducing transparent borders are not really 'innovations'.

I wont say OS X is best, it can be better(I feel that Snow Leopard and Lion were much more stable than current ones - the ones before apple went on mission of getting thinner).
PostgreSQL 11 was released 2018-10-18 and became available in RDS generally 2019-03-13.

So about 6 months.
When I was at Cisco, I'm pretty sure my desk phone had a public IP.
It also lets people set themselves up to engage with the thing in a way that works well for them.

If they go into it thinking "oh, this is like installing windows" and then their expectations violated, they will be frustrated.

If they go into it thinking "oh, this is a way to get more out of a computer, if I'm willing to do some debugging." then they can think "well, I'm the type of person that does things best when I've got a solid theoretical grounding. Let me go get a book first." or "well, this could be a puzzle, let me get a sandwich before I attempt this."

Working with Linux is indeed frustrating at times, but it can be well-worth mustering the frustration-tolerance. But to do that, you've got to know yourself and know what you're getting yourself into.