1,023 karma · joined September 5, 2019
At some point, its going to cost extra to buy cars without GPS trackers, houses without police-force endorses surveillance nets, or phones with an actual “off” button. This is much more pressing, in my opinion, than people buying into heavily processed meat substitutes.
I think a more moderate take would be suggesting a straddle of the EU - either it strangles itself with clunky bureaucracy, or it becomes more closely unified and a world power in the likes of the US, Russia, or China.
Furthermore, I think we could see the United States grow with the additions of Guam, Puerto Rico, and/or Greenland.
> Calling methods on a JavaScript class from Python code...
This feels like an incomplete solution to a nonexistent problem.
JavaScript and Python can communicate however you want them to over a Unix or IP socket, which will ALWAYS be much lighter weight than running layered interpreters this way. All you need to do is determine a communication protocol and implement a basic API. Send a command, wait, and listen for a result.
> Wrapping a JavaScript function in a Python function...
There are other ways to skin that cat. And most of them are better.
You will most likely have to use JavaScript, on the front end. You can do a lot of neat graphical tricks these days - whether with Canvas, SVG’s, or above-my-pay-grade wizardry.
What kind of back end engineer are you? Just curious since it sounds like you don’t have a plan for multiplayer networking yet. Knowing what your skills are would help determine what advice you need.
Edit: additionally, if you want to have a better time writing JavaScript, you can use Gulp [1] and BabelJS [2] to compile ES6 into backwards-compatible JS. Gulp is also helpful for streamlining other painful parts of web development - worth reading through the docs.
Regarding multiplayer, it depends on how you plan to network. I am not sure how people implement P2P networks these days. However, you could probably use TCP/IP sockets (AF_INET) to take data from the client side and send it to a central process (you will need asynchronous IO and you will probably want to connect to the socket using JavaScript / web sockets). You could use a sock file (AF_UNIX) to move data between different languages/scripts if you want to, as well.
There is a very good intro to multiplayer networking here: https://gafferongames.com/post/what_every_programmer_needs_t...
[0]: https://news.ycombinator.com/item?id=17080985
[1]: https://gulpjs.com/
[2]: https://github.com/babel/gulp-babel/blob/master/README.md
If you know the basics of programming and have the persistence to. RTFM (Read The Fucking Manual), C++ will not give you any trouble. In fact, you might actually start to enjoy it more than the other languages you used in the past.
All that said, if you are focusing on machine learning rather than programming, then you should look into Python and R. A great resource is “an introduction to data science with R” by David Langer: https://m.youtube.com/watch?v=32o0DnuRjfg
But it does help take in the views, a lot more so than, say, the highways of Florida.
My name was inspired by a Gilfoyle line in Silicon Valley, which references Magick:
https://getyarn.io/yarn-clip/9481dd82-17de-4791-b110-0e58434...
(Since you’re on HN there is a good chance you’re familiar with the show - but if you’re not, the Gilfoyle character is a self-proclaimed LaVeyan Satanist)
A lot of times, it's easier to write something like a narrative when you're working within certain rules. Or to design a powerpoint when you're given a corporate style guide.
Starting from scratch is difficult because it doesn't give any ideas to bounce off of. And with something like a smartphone - which users need constantly, but never seem to have the time to configure - any half-hearted configuration by the average user is going to benefit dramatically by having basic rules in place.
For power users - like all of us on Hacker News - sometimes the blank-slate approach is preferable, but there's nothing wrong for liking Apple because of the lack of choice.
Merriam-Webster: https://www.merriam-webster.com/dictionary/narcotic
Collin's Dictionary: https://www.collinsdictionary.com/dictionary/english/narcoti...
Edit, regarding "no one calls marijuana a narcotic":
Not sure why I was downvoted, considering that we are discussing angel dust rather than marijuana.
The United States Government calls marijuana a narcotic:
[1]: https://www.federalregister.gov/documents/2019/08/29/2019-18...
[2]: https://www.incb.org/incb/en/narcotic-drugs/index.html
As do The UN and the World Health Organization (in process of amendment):
[1]: https://www.healthpolicy-watch.org/who-recommends-cannabis-s...
[2]: https://www.who.int/medicines/access/controlled-substances/U...
And the Australian Government: https://www.legislation.gov.au/Details/F2018L00106
As well as the Swiss Government: https://www.ch.ch/en/cannabis/
And the Government of Singapore: https://www.cnb.gov.sg/
And the European Union: http://www.emcdda.europa.eu/publications/topic-overviews/cla...
It's important to note the apparent legal definition of "narcotic" when discussing drugs, as it drastically differs from the traditional use, and includes a much longer list of substances.
I don't see that connection as an issue with the game or your post. It certainly isn't doing anyone any harm, despite what others suggested in earlier comments.
That said... I'm 21 years old, and I still associate "angel dust" with PCP. The name is still used by popular rappers including Mac Miller [0] and Run the Jewels [1]. It is still defined as PCP in 6 of the top 7 results, vs 5 of the top 7 for "sherm" and 0.3/7 for "wet" on Urban Dictionary [2,8,9]. Angel dust is the most common synonym for PCP on Urban Dictionary [10]. The name "angel dust" was used to refer to PCP in a 2011 episode of Its Always Sunny in Philadelphia [3]. The name is still in common parlance on Reddit [4,5,6]. However, the drug seems to have experienced a decline in popularity, accounting for less than 0.1% of all documented hallucinogenic drug use in the United States in 2017 [7] - suggesting that the term "angel dust" is not well known simply because the drug isn't commonly used, and not because the term has been abandoned.
I just don't want anyone to get into trouble thinking that they can use the phrase "Angel Dust" without it being seen as a reference to hard drugs by the general public.
I am also surprised that this association is being rejected, considering that the creator of the game is going by "Frank Lucas" [11], which is the name of a famous drug trafficker [12].
[0]: https://www.youtube.com/watch?v=rIQqzTNRmoc
[1]: https://www.youtube.com/watch?v=R_esHn4X03U
[2]: https://www.urbandictionary.com/define.php?term=Angel%20Dust
[3]: https://itsalwayssunny.fandom.com/wiki/The_Gang_Goes_to_the_...
[4]: https://www.reddit.com/r/PCP/comments/ba1754/two_dimes_of_pc...
[5]: https://www.reddit.com/r/Drugs/comments/5tru38/what_is_angel...
[6]: https://www.reddit.com/r/serialpodcast/comments/2qove1/how_l...
[7]: https://www.drugabuse.gov/drugs-abuse/hallucinogens
[8]: https://www.urbandictionary.com/define.php?term=sherm
[9]: https://www.urbandictionary.com/define.php?term=Wet
[10]: https://www.urbandictionary.com/define.php?term=PCP
Is "DOM Delete" automated?
FireFox Quantum on Windows 10 with a pretty badass CPU. Also slow in Opera. Also slow in Vivaldi.
And it crashed Chrome Canary.
For a web-tech post, this is pretty fucking bad.
The first one [0] reminds me of an old Learjet or Falcon 10 cockpit with the lights lit up (see [1]). I really love the look of the wires you chose, as well, with the knurled connector housing and heavy-duty threading for the cords. The Nyquist Rev. 2.1 [2] looks like its fresh off the Nostromo.
Do you do your own CNC/laser engraving or are the keys OTS?
[0]: https://ereign.is/objects/1.jpg
[1]: http://d16bsf97ryvc45.cloudfront.net/Media/2012/07/F10-sn176...
For the record, though, if you ever do decide to pay for news, FT is one of a few that are actually worth the money.
Makes me wonder if I chose the wrong career.
Furthermore, GDPR has caused a massive decrease in the number of newly registered domains that are successfully recognized as spam:
> Prior to the implementation of GDPR, security researchers were able to identify and block 1.8 million newly registered malicious domains in October of 2017 alone. Fast forward to February of 2019 and that number drops to less than 160,000.[0]
And it has caused a major annoyance for the general public, who mindlessly consent to almost every "consent" prompt they are given.[1]
Companies are also at the mercy of their regional government when it comes to compliance. A company in Greece was fined 150,000 euros, not because the law made it illegal to process data in the way they did, but because the reason they provided for processing was the "wrong" one.[2]
> PWC asked its employees for permission to process their personal data when it should have used a different legal basis (combination of contract, legal obligations and legitimate interest). [(2)]
In effect, their effort to follow the law made them break the law, even though their actions were legal under Article 6, Section 1 of the GDPR.[3] This flies in the face of the EU's language in 2018, where they suggested that companies attempt to follow the "spirit of the law" rather than to worry about dotting i's and crossing t's.
Oddly enough, regulators seem to be pleased with this outcome of seemingly arbitrary enforcement.
[0]: http://www.circleid.com/posts/20191213_the_high_cost_of_priv...
[1]: https://www.cnbc.com/2019/05/04/gdpr-has-frustrated-users-an...
[2]: https://iapp.org/news/a/just-say-yes-gdpr-consent-is-not-as-...
I thought that was what everyone was using it for. What are people using it for?
However, in this case, Uber and Lyft are not actually using willingness to pay. They are using ability to pay. To make the system more efficient, as you suggested, they would do best to implement a bidding system so that customers could directly opt to pay more (directly indicating their level of need).
The algorithms in the article would unfairly prioritize wealthier drivers over poorer ones, if used to maximize margins, regardless of the level of need of either party. Wealth (ability to pay) is not an indicator of how badly you need to be somewhere else. Willingness to pay is. Their system is flawed.
The differential pricing you've described might be beneficial to society, but the differential pricing discussed in the article is most certainly not.
I'll definitely give it a go if I find the time. I love the idea.
If you could make it work with LaTex you could probably find some happy users in IEEE / ACM type communities that would use it for drawing figures in research publications. However, it probably won't take on unless it's made open-source (most researchers are on tight budgets already!)
It's sad that people don't recognize how DNA collected like that (whether by 23AndMe, Ancestry.com/Quest Diagnostics, or anyone else) is used. Almost 100% of the time, it goes into a database that's readily available for searches by law enforcement, without warrant. They can use the DNA of a close relative to figure out what they want to find in a suspect. It WILL be misused, and it is not in our best interest.
Nor is the surveillance net made by Blink and Ring cameras, and the pervasive network of microphones made by phones, smart-watches, smart TV's, smart faucets and fridges, smart ovens (seriously?), et cetera, ad nauseaum.
It's not only blind trust in the manufacturers of these devices to not misuse the data they collect, but it's blind trust that all of these devices will be properly secured and prevent would-be attackers from listening in to you no matter where you are. People cover up their webcams because they're afraid of hackers, but they put security cameras in their bedrooms, "to catch a thief", without a second thought.
This isn't the one they have, but it's similar:
https://www.amazon.com/Trinsic-Pull-Down-Activated-Technolog...
I've tried to explain why he doesn't need them. His response (about the security cameras) is always, "If there's ever a break in, I'll be glad I have them." The fact that actually using a light switch sets in motion a 20-minute repair via iPad doesn't seem to bother him. He doesn't view the wiretaps as a problem. He (with my mother's help) recently bought a wifi-enabled fridge and kitchen sink.
I love my parents to death, but it's ridiculous. I'm to the point where I usually leave my phone in the next room over when I'm not using it (and please check me in at a psych ward if I ever buy a smart-watch with a cellular connection and an omni-directional microphone). Its beneficial for clarity of thought / lack of distraction as well as for privacy.
Connectivity for connectivity's sake will be the death of freedom.
I feel like the web parsing / indexing, perhaps rather than the search algorithm itself, is the hardest part of rolling a new search engine (largely due to the associated computing and storage costs).
When I signed up, they emailed me to welcome me to the site (they actually require manual authorization of users by an admin, which is... refreshing, but uncommon). The email ended by stating that if I lost my password, they could "recover it" and send it back to me.
I raised a thread about it in one of their off-topic sections, and got harassed - "How secure do you need your browsing to be?" (And hey, I mean, I was asking them to do more work)
But it stands out that most of the public doesn't know, and doesn't care to know. Even a site that's populated by people with net worths and/or incomes that average in the six-to-seven figure range, that they probably signed up for with the same email address and password that they use for their bank and brokerage accounts.
HTTP should come with a warning. Furthermore, it would be fan-fucking-tastic if there was some generalizable way to (automatically) audit a website's security practice. Like, a crawler that just runs standard OWASP-style attack-vector checks, and sends an email to the site's owners when one succeeds. And then put that data into a database and warn users (with a browser plugin) when they are creating credentials for sites with bad security.
Actually, I recently started my own project to do the same, but I didn’t get nearly as far as a few of the recent posts I’ve seen on HN / reddit. At this point I might just find a similar OSS that I can contribute to.
I like the trend.
I still haven't brought myself to use it on my laptop, but I do use Bing on Vivaldi (I use Opera, Vivaldi, FF Dev Edition, Opera Dev Edition, and Chrome Canary - the first two for everyday browsing, and the rest for dev-ing. I use google in Opera, and Bing in Vivaldi).
Using search engines other than Google is a nice change of pace, even if not solely to avoid AMP pages.