Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petilon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
571.
▲
by
petilon
5y ago
> In reality, it's a cost-cutting measure designed to suppress US wages There may be some firms who are abusing the system. The example of Disney comes to mind... they hired H-1B workers, then laid off US citizen employees, then h
572.
▲
by
petilon
5y ago
I think a distinction should be made between restrictions (on speech) by government, and restrictions by private entities. The former is dangerous, the latter is necessary. Societal attitudes towards free speech have changed a lot in recent
573.
▲
by
petilon
5y ago
My mistake... I thought the code editor was implemented using Lexical. The real demo is here: https://lexical-playground.vercel.app/ (Edit) I think you should put this demo on the front page and the code sample on some othe
574.
▲
by
petilon
5y ago
The examples shown on the site are code editing. Which puts it in direct competition with the more established Monaco from Microsoft [1]. Competition is welcome, but the description sounds like this is more of a library than a finished prod
575.
▲
Police pull over a driverless Cruise car in San Francisco
(marketwatch.com)
3 points
by
petilon
5y ago
|
0 comments
576.
▲
by
petilon
5y ago
> They didn't call it "functional" though. See [1] where they say "if you’re a functional programming purist and feel uneasy about React relying on mutable state as an implementation detail, you might find it satisf
577.
▲
by
petilon
5y ago
I would argue that other than eschewing classes for bare functions, there is nothing functional (as in "Functional Programming") about React or hooks. Simply removing classes and calling it "functional" is a stretch.
578.
▲
by
petilon
5y ago
> more functional style What does "functional style" mean here? Is C language a functional programming language? It lets you write functions, pass functions around as parameters, and so on. So, is C functional?
579.
▲
by
petilon
5y ago
Constraints such as singleton give guidance on how to use your code. If you remove constraints then it is harder to figure out intended usage. Sure constraints may need to be modified in the future, but that doesn't make constraints us
580.
▲
by
petilon
5y ago
> React started to move away from OOP and more towards FP Please don't confuse what you see in React with FP! It is not FP. See: https://mckoder.medium.com/why-react-is-not-functional-b1ed1...
581.
▲
by
petilon
5y ago
A singleton restriction is a guide to other programmers in the team as to how to use your class. i.e., "don't create multiple instances of my Cache class, use this one instance, otherwise you defeat its purpose". It is a good
582.
▲
by
petilon
5y ago
Just wasted 5 minutes reading that page. I didn't see a single worthwhile argument.
583.
▲
DALL-E, the A.I. That Draws Anything at Your Command
(nytimes.com)
2 points
by
petilon
5y ago
|
0 comments
584.
▲
by
petilon
5y ago
> it doesn't require a banner or an obtrusive banner. And yet, that's the impact on users.
585.
▲
by
petilon
5y ago
> It's really a very reasonable rule. Impact on users is annoying pop up every time you visit a new web site, which ask s for permission to store cookies. It doesn't seem like a reasonable rule. Storing cookies is reasonable.
586.
▲
by
petilon
5y ago
Not entirely true. Airtable has formula fields [1] and it can indeed summarize columns, and even slice and dice using crosstabs [2]. [1] https://support.airtable.com/hc/en-us/articles/203255215-For... [2] ht
587.
▲
by
petilon
5y ago
> UltOrg is roughly "spreadsheets re-built atop the RDBMS datamodel". That's how AirTable is described as well. And Google Tables. And Amazon Honeycode.
588.
▲
by
petilon
5y ago
> more due to the configuration setup in your instance The obvious question here is, why does it have a configuration that allows an accidental or absent-minded employee to let in a hacker? Other authentication apps such as Symantec VI
589.
▲
by
petilon
5y ago
No, if you are on iPhone, Face Id authenticates, then you press a button to allow. That's it. There is no number to type anywhere.
590.
▲
by
petilon
5y ago
Microsoft's MFA is terrible. You install an app called Authenticator. Then when you login the Authenticator app gets a push notification, and the user has to say whether to allow the login or not. If you accidentally press Yes, the att
591.
▲
by
petilon
5y ago
There is the Microsoft social network that was supposed to kill Facebook: https://techcrunch.com/2017/03/07/microsoft-socl-close/
592.
▲
Microsoft confirms it was breached by hacker group
(cnn.com)
2 points
by
petilon
5y ago
|
1 comments
593.
▲
by
petilon
5y ago
You could say that about the post-Steve-Jobs Apple as well.
594.
▲
by
petilon
5y ago
> Why Apple does not allow 150% is beyond me because it is quite reasonable. It is absolutely not reasonable. HTML tables with horizontal grid lines will appear to have varying line thicknesses when in reality they are all set to the s
595.
▲
by
petilon
5y ago
> I really don't understand why they don't either (a) adopt Windows' approach of allowing rendering directly to any arbitrary scale Windows is badly broken in this regard. I bought and returned a Microsoft Surface laptop
596.
▲
by
petilon
5y ago
Here's an example of an application written without using heavy frameworks: https://github.com/wisercoder/eureka It uses two libs, 200 lines and 500 lines each: This lib for components: https://github.
597.
▲
by
petilon
5y ago
The legal system is imperfect, and that leaves plenty of opportunity for unscrupulous people to take advantage of other people's work. In popular opinion that may get called theft, even if it is not illegal. > If you have an idea t
598.
▲
by
petilon
5y ago
> The differences in architecture and memory constraints between a PDP-10 and an 8080 are too great for it to be feasible to steal code. So if I take someone else's assembly code and port it to a new architecture then that's
599.
▲
by
petilon
5y ago
> Also, did Bill Gates steal anything? Wow, what a question! Some would argue that all he did was steal! Is there anything Microsoft did that was not stolen from somewhere else? Starting with the Basic interpreter that got Gates starte
600.
▲
by
petilon
5y ago
JS has access to 64-bit floating point, not int.
More ›