Movatterモバイル変換


[0]ホーム

URL:


はてラボはてな匿名ダイアリー
ようこそ ゲスト さんログインユーザー登録

「date.」を含む日記RSS

はてなキーワード:date.とは

次の25件>

2025-02-07

How to Flirton a FirstDate Without Feeling Awkward

Firstdates can be exciting and nerve-wrackingallatonce.You’re meetingsomeone new, learning about their interests, and trying to figureout if there’schemistrybetweenyou. And then there’s flirting, that delicate dance of showingsomeoneyou’re interested withoutbeing too forward or awkward.

Flirtingdoesn’t have to be a high-pressuresituation. Infact,it can bethe mostfun part ofgetting to knowsomeone. Whetheryou're meetingsomeoneonMixerDates orany other platform,the most important thingis to be genuine,staycalm, and let theconnection developnaturally.

Ifyou’ve everfoundyourself wondering how to flirton a firstdate withoutfeeling uncomfortable,you’re notalone. Everyonehas their awkwardmoments, but themoreyou understand theart of flirting, the easierit becomes. In thisarticle, we’llbreak down how to flirt in a way thatfeelsnatural, exciting,and authentic towhoyou are. So, let'sdive in and learn how tomakethe most ofyour firstdate experience—withoutoverthinkingit.


Confidence: TheFoundation of Flirting

Whenit comes to flirting, confidenceiskey. But whatdoesit really mean to be confidenton a firstdate? Confidencedoesn’t meanyouneed to be perfect, or evenoutgoing—it simply meansbeing comfortable inyour ownskin and showing upasyour authentic self.

Haveyou ever noticed how people are drawn to thosewho radiate self-assurance?It’s not aboutbragging or dominating the conversationit’s about presentingyourself with ease. Ifyoufeelgood aboutyourself,itwillnaturally show. A greatsmile,good posture, and eye contact cango a long way in making agoodfirst impression.

For instance, think about thelasttimesomeone walked into a room and immediately caughtyourattention—not because they werethe mostattractive person in the room, but because of their energy. They were confident, they were present, and theymadeyoufeelat ease. That’s the kind of confidenceyou want to projectonyourdate.

Whenyou're confident,you're not worried about saying the perfect thing. Instead,youfocuson enjoying themoment, making the other personfeel comfortable, and letting theconnection happennaturally. That’s themagic of confidence—itallowsyou to be present,fun, and,most importantly,yourself.

The Power of Subtlety

Let’s faceit—noonewants tofeellike they’rebeing “worked” or put through a game. That’swhy subtletyis such a powerfultool whenit comes to flirting.It'sall about showing interest withoutbeingover-the-top or too obvious.

Flirtingdoesn’talways mean complimentingsomeone non-stop or using cheesy pickup lines. Infact,the most successful flirtingis the kind that happens behind the scenes—subtle, playful, andlighthearted. Think about thelittlemoments,like a teasing comment about how theyalways order the same thingat a restaurant or the wayyou laughat a silly joke theymake.

Thekeyis to find a balance. Asimplesmile or a playful comment can convey interest withoutbeing too much. For example, ifyourdate tellsyou theylove hiking but theytend togetlost easily,you could saysomethinglike, “So,you’re telling meyouneed a personal guide? I couldget behind that!”It’slighthearted, humorous, andmost importantly,it keeps the conversationfun without putting too much pressureon thesituation.

By keepingit subtle,youallowyourdate tofeelat ease.Ittakes the pressure off them to be perfectand allows both ofyou to enjoy the interactionmorenaturally. Flirtingdoesn’tneed to be a performance—it’s about creating an environment where both ofyou canfeel comfortableand authentic.


Active Listening: AKey toConnection

Now,let’stalk aboutsomething incredibly important in the flirting game:active listening. When we’reon adate, we oftenget caught up in thinking about what to saynext, how we’re coming across, or if we’rebeing interesting enough. But the best way tomake animpression? Truly listening toyourdate.

Active listening meansyou’re fullyengaged in the conversation, givingyourdateyour fullattention and responding thoughtfully.It’s about showing thatyou care about what they’re saying and thatyou’re genuinely interested ingetting to know them better. Whenyou listenactively,you’re also giving them space toopen up, and that can create an immediateconnection.

For example, ifyourdate mentions they recently traveled toJapan, instead of simply saying, “That’scool!”you could follow up withsomethinglike, “Whatwasthe most memorable experienceyou had there?” This shows thatyou’re not just hearing their words but are genuinely curious and invested in their experiences.It’s a great way to build rapport and let them knowyou’re not just there toimpress them—you’re there toconnect.

Body Language: SayingMore Than Words Can

Whileyour words are important,body language often speaks louder thananythingyou can say. Whetheryourealizeit or not,yourbodyis constantly communicating howyoufeel. Howyousit, stand, andmove tellsyourdate whetheryou’rerelaxed,engaged, or distracted.

Small gestures cango a long way in flirting. Alight touchon thearm, a subtle lean in when they’re speaking, or maintaininggood eye contact—all thesebody language cues helpsignalyour interest. Andthe great thingis, whendonenaturally, these cues can be justas effectiveas words.

For example, ifyou’resittingat a caféonyourdate andyou lean in slightly when they’re sharing afunnystory,you’re not just showing thatyou’re interested—you’re inviting them intoyour space.It’s aninvitation toconnect further. And when they respondby leaning in too, that’s when themagic happens—the unspokenconnection that tellsyou both that there’s potential formore.

Flirting throughbody languagedoesn’t mean making grand gestures orbeingoverly touchy.It’s aboutbeing present and showing thatyou’reengagedwith yourdate in a subtle, but meaningful way.


HaveFun:Don’tTakeIt Too Seriously

It’s easy toget caught up inoverthinking how to flirt or trying to figureout ifyourdateis intoyou. Buthere’s asecret—whenyou letgo of the pressureand allowyourself to havefun,everything flows muchmorenaturally. Flirtingon a firstdatedoesn’tneed tofeellike atest or anassignment.It’s supposed to be afun,lighthearted experience that sets the stage formore greatdates ahead.

Whenwas thelasttimeyou had a genuinelyfundate?Wasit whenyou were trying too hard toimpress, or whenyou were both laughing, chatting, and enjoying each other's company? Flirting becomes effortless whenyou're present, enjoying themoment, and letting theconnection grownaturally.

Sometimes,it's the smallmomentslike sharing a laugh or swapping embarrassing stories—thatmake a firstdate truly special. Whenyoufocuson havingfun,you create an environment where both ofyou canrelax, flirt, and let thechemistry grow. That’s thesecret to a greatdate.

Flirtingwith the RightMatch: How MixerDatesMakesIt Easier

One of the best things about using a platformlikeMixerDatesis thatittakes the guessworkout of the equation.Byconnecting withsomeonewho already sharesyour interests and values,you’vegot a head starton making a realconnection.No more swiping through countless profiles hoping for asparkonMixerDates,you already know there’ssomething incommon.

Whenyou’re alreadyon the same pagewith yourdate, flirting comesmore easily. There’s less of that awkward, “Are we evenon the same wavelength?”feeling, andmore of thefun, “Wow, we reallyclick!” vibe. Whetheryou’retalking aboutfavorite hobbies, movies, orlifegoals, the conversation flowsnaturally, making the flirtingfeel effortless.

Ifyou're looking for a place to meetlike-minded people and build genuineconnections,MixerDatesis the perfect platform.It's a great place to findsomeonewho appreciatesyou forwhoyou are andwhoyou cannaturally flirt with, without the stress.

Ready toTake theLeap?

Flirtingon a firstdateisall about confidence,connection, andfun. Whenyou letgo of the pressure andfocuson enjoyingthe experience, thechemistrywillnaturally follow. Remember, the best way to flirtisbybeingyourself—letyour personalityshine through, listen with intention, and embrace themoment.

And ifyou’re ready to meetsomeone new,who’s justas interested in making aconnectionasyou are,MixerDatesis the perfect place to start. Sogo ahead,take theleap, and see whereit leads.Who knows?Yournext greatconnection might be just aclickaway.

Sign up forMixerDatestoday and startyourjourney to exciting firstdates and meaningfulconnections!

Permalink |記事への反応(0) | 12:01

このエントリーをはてなブックマークに追加ツイートシェア

2025-02-02

Chatgptが答えた異星人の存在可能性とのそのロジック

Please consider the histroy ofhumanity from biologicalperpsecitve and currentknown fact in nearbyuniverse, whichexpo-planet (from theSol systemperspective)ismostlikely to have civlizaedsociety? Pleaseaddpercentagenext toit in the chart

ChatGPT

Reasoned about exoplanetcivilizationlikelihoodを28 秒行う

Evaluatingplanetary prospects

OK, I’mlookingatthe likelihood of a civilizedsocietyon an exoplanet within ourSolar System.I’ll consider biologicalhistory and current space knowledge,aiming to identifythe most promising candidate.

Identifying potential candidates

I'm considering exoplanetslike Proxima Centauri b and TRAPPIST-1e, which might suggest they are within or observed from ourSolar System.

Assessing potential candidates

I’m evaluating Proxima Centauri b, Barnard'sStar, LHS 1140, and TRAPPIST-1,focusingon their habitablezonesand available data. The Drake equation might help estimate their civilizedsocietylikelihoods.

Identifying promising exoplanets

I’m notingkey exoplanetslike Proxima Centauri b and TRAPPIST-1, which haveEarth-like characteristicsand are in habitablezones. This narrows down the potential candidates for advancedcivilizations.

Assessing habitablezones

I'm gathering infoonplanetslike Proxima Centauri b and TRAPPIST-1, consideringfactorslikemagneticfields,atmospheres, and proximity to G-typestars for their potential to support advancedcivilizations.

Evaluating exoplanet prospects

I'm noting that Proxima Centauri b, despitebeing closeand around ared dwarfstar, might supportlife ifithas amagneticfieldand atmosphere. This makes me think aboutits potential.

Charting probabilities

I'm estimatingcivilization probabilities for exoplanetslike Proxima Centauri b and TRAPPIST-1 e, using speculativepercentagesbasedon the Drake equation and the lack ofevidence for intelligentlife.

Charting speculative odds

I'm crafting a chart with exoplanet names andcivilizationlikelihoodpercentages, grounded in the longtimeline oflife'sevolution, despite the speculativenature of these figures.

Identifying exoplanet contenders

I’m evaluating exoplanetslike Proxima Centauri b, TRAPPIST-1 e, and Kepler-186f, considering theirstar types and distances, to gauge their potential for supporting advancedcivilizations from oursolar system'sviewpoint.

Weighing proximity and observation

I'm leaning towards Proxima Centauri b due toits closeness and observational potential, despite concerns aboutitsflarestar dynamics. TRAPPIST-1 e, f, or g are also worth considering.

Revisiting exoplanet options

I'mfocusingon exoplanetslike Proxima Centauri b, Ross 128 b, LHS 1140 b, TRAPPIST-1 e/f/g, andK2-18b,aiming to chart theirlikelihood of hosting a civilizedsocietybasedon current knowledge.

Assessing exoplanet potentials

I'm gathering speculative probabilities for exoplanetslike Proxima Centauri b and TRAPPIST-1 e/f/g, using the Drake equation and current understanding, to better estimate their chances of hosting a civilizedsociety.

Refining speculative probabilities

I’m refining speculative probabilities for exoplanets, including Proxima Centauri b and TRAPPIST-1 e/f/g, to estimate their chances of hosting a civilizedsociety, consideringEarth's long biologicalhistory.

Refining odds

I'm considering theastronomicaltimeline for intelligentlifeonEarth,leading me toassign evenlower speculative odds for exoplanetslike Proxima Centauri b and TRAPPIST-1 e.

Clarifying speculativenature

I’m crafting a simplified chart with arbitrarypercentages, clearly noting the speculativenature and lack of scientific data, while considering the target audience'sbasic understanding of the topic.

Mappingout speculative odds

I’m charting arbitrarypercentages for exoplanets, clarifying their speculativenature, and ensuring the datais accessible foryoung audiences with minimal scientific detail.

Crafting a chart

I’m creating amarkdowntable with speculativepercentages forthe likelihood of civilizedlifeon exoplanets, emphasizing their purely theoreticalnature and considering the understandinglevel of an 8-year-old.

Integrating speculative analysis

I’m mappingout amarkdown chart with speculativepercentages forthe likelihood of a civilizedsocietyon exoplanets, mindful of thecomplexity and simplifying for an 8-year-old's understanding.

Assessinglikelihoods

I’m piecingtogethermarkdown for exoplanets, noting Proxima Centauri b'sreduced civilizedlife chance due to thered dwarf's activity. This inclusionhighlights the speculativenature of the analysis.

Piecingtogether speculative odds

I’m detailing amarkdown chart for audience-friendly exoplanetlikelihoods, considering environmental challengesand adding a disclaimer about the speculativenature and lack ofevidence.

Piecingtogether

I’m leaning towards Proxima Centauri b forits proximity and silentstar, butI’lladd a speculative chart ranking nearby exoplanets, noting their advancedcivilizations' hypotheticallikelihood.

Assessingcivilization probabilities

I'm emphasizing the slow emergence of intelligentlifeonEarth, which suggests that the odds ofany habitableplanet developing acomplexcivilization might beaslowas a fewpercent.

Belowis a very speculative chart thatbasedon what we know aboutEarth’s long, windingpath fromsimplelife to a “civilizedsociety” and our limited observations of nearby exoplanets—gives somefun,made‑uppercentage chances for a few of our best candidate exoplanets. Remember: Scientists havenot yetfoundany proof oflife (let alone advancedcivilizations)onany exoplanet. Thesenumbers are just playful estimates to helpyou think about theideas!

Speculative Chances of Finding an AdvancedCivilizationon Nearby Exoplanets

Exoplanet EstimatedLikelihood of a CivilizedSociety

Proxima Centauri b ~2%

TRAPPIST-1 e ~1.5%

TRAPPIST-1 f ~1%

TRAPPIST-1 g ~1%

LHS 1140 b ~0.5%

HowDid We (Very Roughly) Guess TheseNumbers?

Earth’s Example:

OnEarth,life beganassimple single‑celled organisms and took billions of years to evolve into a species that builtcomplex societies. This longjourney suggests that—even if aplanetis in the “habitablezone” (where liquid water could exist)—developing an advanced, civilizedsociety might be rare.

Nearby Exoplanets:

Proxima Centauri b:

Thisis the closest exoplanet to us. Even thoughitsstar (Proxima Centauri)is ared dwarf that sometimes sendsout strongflares (which might harmlife),its closeness makesitone of ourmost interesting candidates. That’swhy we giveit a slightly higher guess (~2%).

TRAPPIST-1 System (e, f, g):

Theseplanets are part of agroup orbiting a verycoolstar. Their environments might be challenging (for example, they could be tidally locked, meaningone sidealwaysfaces thestar), so the chance of acomplex, advancedcivilization might be abitlower.

LHS 1140 b:

Thisplanetis promising in some ways butis alittle fartherawayand around a dimmerstar, so our playful estimateis evenlower.

AFinalNote

All of thesepercentages are extremely rough guessesbasedon whatlittle we understand about the conditions forlife andintelligence. Scientists useideaslike the Drake Equation to think about these chances—but until we have concreteevidence, thesenumbers remain just forfun and imagination.

Enjoy exploring theseideas—and remember, spaceis full of mysteries waiting to be discovered!




あなた:

Please examine the Drake Equationitself and see if this euqationis acculate ormore opition in the equationyouwill use

ChatGPT

Reasoned about the Drake Equationを6 秒行う

re-examining the Drake Equation

evaluating the Drake Equation'svalue

Clarifying the Drake Equation

OK, let me see. The Drake Equationisn't a precise formula;it'smore of a guiding heuristic that tackles numerous uncertainties regarding extraterrestrialcivilizations.

Assessing the Drake Equation

Thinking through the Drake Equation, I’m evaluatingits conceptualnature,its uncertain parameters, andits criticism to concludeonits reliabilityas an accurate predictivemodel.

Understanding the Drake Equation

I’m mappingout the Drake Equationas a conceptual guide, detailingits parameters, which are oftenbasedon estimates or opinions, to evaluateits reliability for predicting extraterrestrialcivilizations.

The Drake Equationis a famous formula thatwas created to help scientists think about the manyfactors involved in estimating thenumber of detectable extraterrestrialcivilizations in ourgalaxy. However, when welookat the equation closely, we see thatitismore of a conceptualframework or heuristictool than a precise, predictive formula.Let’sbreak downwhy:

The Drake Equation

The equationis usually writtenas:

𝑁

=

𝑅

×

𝑓

𝑝

×

𝑛

𝑒

×

𝑓

𝑙

×

𝑓

𝑖

×

𝑓

𝑐

×

𝐿

N=R

×f

p

×n

e

×f

l

×f

i

×f

c

×L

Where:

𝑅

R

: The averagerate ofstar formationper year in ourgalaxy.

𝑓

𝑝

f

p

: The fraction of thosestars that haveplanetary systems.

𝑛

𝑒

n

e

: The averagenumber ofplanets that could potentially supportlifeperstar withplanets.

𝑓

𝑙

f

l

: The fraction of thoseplanets wherelife actually develops.

𝑓

𝑖

f

i

: The fraction ofplanets withlife where intelligentlife evolves.

𝑓

𝑐

f

c

: The fraction ofcivilizations that develop technology that releases detectablesignals into space.

𝐿

L: The length oftime suchcivilizations release detectablesignals.

Why the Drake EquationIsMore of a Guideline Than a Precise Formula

Uncertain Inputs:

Well-Known Parameters:

Somefactors,like

𝑅

R

(star formationrate) and

𝑓

𝑝

f

p

(fraction ofstars withplanets), have become better known through modernastronomy.

Highly SpeculativeFactors:

The parameters related to the development oflife andintelligence

𝑓

𝑙

f

l

,

𝑓

𝑖

f

i

,

𝑓

𝑐

f

c

, and

𝐿

L—arebasedon very limited data. For example,Earthis theonlyplanet we know wherelifehas developed, so we have no way to compare or derive a statistically robust estimate for thesefactors. This means that thevalues chosen for these parameters are largely subjective estimates or educated guesses.

Wide Ranges of PossibleValues:

Because many of thesefactors are not well-constrained, ifyouchangeone of themore uncertain parameters even slightly, thefinal estimate for

𝑁

N (thenumber ofcivilizations) can varyby many orders ofmagnitude. This wide range shows that the equation canlead to very differentoutcomesbasedonpersonal or theoreticalassumptions.

Heuristic, Not Predictive:

The Drake Equationwas never meant to provide a preciseanswer. Instead,it servesas a way to organize our thinking about what conditions might be necessary for the development of extraterrestrialcivilizations.It encourages discussion about the relative importance of differentfactors andhighlights where our scientific knowledgeis limited.

Is the Drake Equation Accurate orMore Opinion-Based?

Accurate?

In thesense ofbeing a strict mathematicalmodel with well-defined inputs and predictableoutputs, the Drake Equationis not accurate.Its accuracyis limitedbythe extreme uncertainties in several ofitskey parameters.

Opinion-Based?

Many of the terms in the equation, especially those concerning theevolution oflife andintelligence, arebasedon opinion, interpretation, and the single example ofEarth. Therefore, while thestructure of the equationis logical, thenumbersyou put intoit (and hence thefinal result) are oftenmore reflective of our current opinionsand assumptions than of robust empirical data.

Conclusion

The Drake Equationis a valuabletool for framing the question of extraterrestriallife.It helps scientists and enthusiastsbreak down acomplex problem into smaller,more manageable questions. However, because several ofitsfactors are highly uncertain and subject topersonal interpretation,itismore of a conceptual guide—or even a way to stimulate discussion—than a formula that provides a definitive, accurate prediction of thenumber of extraterrestrialcivilizations.

Insummary, while the Drake Equationis useful for thinking about the variousfactors that mightlead to the emergence of acivilization,itsoutputs should betakenas highly speculative estimates rather than precise measurements.




あなた:

Please also consider the possiblities of non-human intelligent emrgencing from the longhistory ofSol system and nearbyplanets and see if thereisany possiblites that inonetime intelligentlife emerged in nearbyplanets and see this to the equation

ChatGPT

Reasoned about non-humanintelligence and the Drake Equationを19 秒行う

Evaluating non-humanintelligence

I'm thinking about the potential for non-human intelligentlife forms in theSol system and neighboringplanets, and how this mightfactor into the equation.

Piecingtogether possibilities

I'm thinking about how to integrate the emergence of non-human intelligentlife, possiblyonMars orEuropa, into the Drake Equation for theSol system and neighboringplanets.

Reflectingon potential

It's interesting to think about the hypothesis of intelligentlife emergingonMars orVenus, thoughEarth remains theonly knownlife-supportingplanet in thesolar system.

Considering other realms

I'm examining if intelligentlife could have emergedonplanetslikeMars,Venus, orEuropa, and how thispossibility alignswith the predictions of the Drake Equation.

Analyzing parallelevolution

Hmm, I’m thinking about how non-human intelligentlifeonMars orVenus could intersectwith theassumptions of the Drake Equation, which seems tofocussolelyonEarth-basedevolution.

Evaluatinglife exploration

I’m piecingtogether the hypothesis of non-human, advanced, intelligentlife in thesolar system.Mars,Venus, and Titan present challenges, butEuropa and Enceladus might harbor microbiallife.

Adapting the equPermalink |記事への反応(0) | 21:12

このエントリーをはてなブックマークに追加ツイートシェア

Chatgptが答えた異星人の存在可能性とのそのロジック

Please consider the histroy ofhumanity from biologicalperpsecitve and currentknown fact in nearbyuniverse, whichexpo-planet (from theSol systemperspective)ismostlikely to have civlizaedsociety? Pleaseaddpercentagenext toit in the chart

ChatGPT

Reasoned about exoplanetcivilizationlikelihoodを28 秒行う

Evaluatingplanetary prospects

OK, I’mlookingatthe likelihood of a civilizedsocietyon an exoplanet within ourSolar System.I’ll consider biologicalhistory and current space knowledge,aiming to identifythe most promising candidate.

Identifying potential candidates

I'm considering exoplanetslike Proxima Centauri b and TRAPPIST-1e, which might suggest they are within or observed from ourSolar System.

Assessing potential candidates

I’m evaluating Proxima Centauri b, Barnard'sStar, LHS 1140, and TRAPPIST-1,focusingon their habitablezonesand available data. The Drake equation might help estimate their civilizedsocietylikelihoods.

Identifying promising exoplanets

I’m notingkey exoplanetslike Proxima Centauri b and TRAPPIST-1, which haveEarth-like characteristicsand are in habitablezones. This narrows down the potential candidates for advancedcivilizations.

Assessing habitablezones

I'm gathering infoonplanetslike Proxima Centauri b and TRAPPIST-1, consideringfactorslikemagneticfields,atmospheres, and proximity to G-typestars for their potential to support advancedcivilizations.

Evaluating exoplanet prospects

I'm noting that Proxima Centauri b, despitebeing closeand around ared dwarfstar, might supportlife ifithas amagneticfieldand atmosphere. This makes me think aboutits potential.

Charting probabilities

I'm estimatingcivilization probabilities for exoplanetslike Proxima Centauri b and TRAPPIST-1 e, using speculativepercentagesbasedon the Drake equation and the lack ofevidence for intelligentlife.

Charting speculative odds

I'm crafting a chart with exoplanet names andcivilizationlikelihoodpercentages, grounded in the longtimeline oflife'sevolution, despite the speculativenature of these figures.

Identifying exoplanet contenders

I’m evaluating exoplanetslike Proxima Centauri b, TRAPPIST-1 e, and Kepler-186f, considering theirstar types and distances, to gauge their potential for supporting advancedcivilizations from oursolar system'sviewpoint.

Weighing proximity and observation

I'm leaning towards Proxima Centauri b due toits closeness and observational potential, despite concerns aboutitsflarestar dynamics. TRAPPIST-1 e, f, or g are also worth considering.

Revisiting exoplanet options

I'mfocusingon exoplanetslike Proxima Centauri b, Ross 128 b, LHS 1140 b, TRAPPIST-1 e/f/g, andK2-18b,aiming to chart theirlikelihood of hosting a civilizedsocietybasedon current knowledge.

Assessing exoplanet potentials

I'm gathering speculative probabilities for exoplanetslike Proxima Centauri b and TRAPPIST-1 e/f/g, using the Drake equation and current understanding, to better estimate their chances of hosting a civilizedsociety.

Refining speculative probabilities

I’m refining speculative probabilities for exoplanets, including Proxima Centauri b and TRAPPIST-1 e/f/g, to estimate their chances of hosting a civilizedsociety, consideringEarth's long biologicalhistory.

Refining odds

I'm considering theastronomicaltimeline for intelligentlifeonEarth,leading me toassign evenlower speculative odds for exoplanetslike Proxima Centauri b and TRAPPIST-1 e.

Clarifying speculativenature

I’m crafting a simplified chart with arbitrarypercentages, clearly noting the speculativenature and lack of scientific data, while considering the target audience'sbasic understanding of the topic.

Mappingout speculative odds

I’m charting arbitrarypercentages for exoplanets, clarifying their speculativenature, and ensuring the datais accessible foryoung audiences with minimal scientific detail.

Crafting a chart

I’m creating amarkdowntable with speculativepercentages forthe likelihood of civilizedlifeon exoplanets, emphasizing their purely theoreticalnature and considering the understandinglevel of an 8-year-old.

Integrating speculative analysis

I’m mappingout amarkdown chart with speculativepercentages forthe likelihood of a civilizedsocietyon exoplanets, mindful of thecomplexity and simplifying for an 8-year-old's understanding.

Assessinglikelihoods

I’m piecingtogethermarkdown for exoplanets, noting Proxima Centauri b'sreduced civilizedlife chance due to thered dwarf's activity. This inclusionhighlights the speculativenature of the analysis.

Piecingtogether speculative odds

I’m detailing amarkdown chart for audience-friendly exoplanetlikelihoods, considering environmental challengesand adding a disclaimer about the speculativenature and lack ofevidence.

Piecingtogether

I’m leaning towards Proxima Centauri b forits proximity and silentstar, butI’lladd a speculative chart ranking nearby exoplanets, noting their advancedcivilizations' hypotheticallikelihood.

Assessingcivilization probabilities

I'm emphasizing the slow emergence of intelligentlifeonEarth, which suggests that the odds ofany habitableplanet developing acomplexcivilization might beaslowas a fewpercent.

Belowis a very speculative chart thatbasedon what we know aboutEarth’s long, windingpath fromsimplelife to a “civilizedsociety” and our limited observations of nearby exoplanets—gives somefun,made‑uppercentage chances for a few of our best candidate exoplanets. Remember: Scientists havenot yetfoundany proof oflife (let alone advancedcivilizations)onany exoplanet. Thesenumbers are just playful estimates to helpyou think about theideas!

Speculative Chances of Finding an AdvancedCivilizationon Nearby Exoplanets

Exoplanet EstimatedLikelihood of a CivilizedSociety

Proxima Centauri b ~2%

TRAPPIST-1 e ~1.5%

TRAPPIST-1 f ~1%

TRAPPIST-1 g ~1%

LHS 1140 b ~0.5%

HowDid We (Very Roughly) Guess TheseNumbers?

Earth’s Example:

OnEarth,life beganassimple single‑celled organisms and took billions of years to evolve into a species that builtcomplex societies. This longjourney suggests that—even if aplanetis in the “habitablezone” (where liquid water could exist)—developing an advanced, civilizedsociety might be rare.

Nearby Exoplanets:

Proxima Centauri b:

Thisis the closest exoplanet to us. Even thoughitsstar (Proxima Centauri)is ared dwarf that sometimes sendsout strongflares (which might harmlife),its closeness makesitone of ourmost interesting candidates. That’swhy we giveit a slightly higher guess (~2%).

TRAPPIST-1 System (e, f, g):

Theseplanets are part of agroup orbiting a verycoolstar. Their environments might be challenging (for example, they could be tidally locked, meaningone sidealwaysfaces thestar), so the chance of acomplex, advancedcivilization might be abitlower.

LHS 1140 b:

Thisplanetis promising in some ways butis alittle fartherawayand around a dimmerstar, so our playful estimateis evenlower.

AFinalNote

All of thesepercentages are extremely rough guessesbasedon whatlittle we understand about the conditions forlife andintelligence. Scientists useideaslike the Drake Equation to think about these chances—but until we have concreteevidence, thesenumbers remain just forfun and imagination.

Enjoy exploring theseideas—and remember, spaceis full of mysteries waiting to be discovered!




あなた:

Please examine the Drake Equationitself and see if this euqationis acculate ormore opition in the equationyouwill use

ChatGPT

Reasoned about the Drake Equationを6 秒行う

re-examining the Drake Equation

evaluating the Drake Equation'svalue

Clarifying the Drake Equation

OK, let me see. The Drake Equationisn't a precise formula;it'smore of a guiding heuristic that tackles numerous uncertainties regarding extraterrestrialcivilizations.

Assessing the Drake Equation

Thinking through the Drake Equation, I’m evaluatingits conceptualnature,its uncertain parameters, andits criticism to concludeonits reliabilityas an accurate predictivemodel.

Understanding the Drake Equation

I’m mappingout the Drake Equationas a conceptual guide, detailingits parameters, which are oftenbasedon estimates or opinions, to evaluateits reliability for predicting extraterrestrialcivilizations.

The Drake Equationis a famous formula thatwas created to help scientists think about the manyfactors involved in estimating thenumber of detectable extraterrestrialcivilizations in ourgalaxy. However, when welookat the equation closely, we see thatitismore of a conceptualframework or heuristictool than a precise, predictive formula.Let’sbreak downwhy:

The Drake Equation

The equationis usually writtenas:

𝑁

=

𝑅

×

𝑓

𝑝

×

𝑛

𝑒

×

𝑓

𝑙

×

𝑓

𝑖

×

𝑓

𝑐

×

𝐿

N=R

×f

p

×n

e

×f

l

×f

i

×f

c

×L

Where:

𝑅

R

: The averagerate ofstar formationper year in ourgalaxy.

𝑓

𝑝

f

p

: The fraction of thosestars that haveplanetary systems.

𝑛

𝑒

n

e

: The averagenumber ofplanets that could potentially supportlifeperstar withplanets.

𝑓

𝑙

f

l

: The fraction of thoseplanets wherelife actually develops.

𝑓

𝑖

f

i

: The fraction ofplanets withlife where intelligentlife evolves.

𝑓

𝑐

f

c

: The fraction ofcivilizations that develop technology that releases detectablesignals into space.

𝐿

L: The length oftime suchcivilizations release detectablesignals.

Why the Drake EquationIsMore of a Guideline Than a Precise Formula

Uncertain Inputs:

Well-Known Parameters:

Somefactors,like

𝑅

R

(star formationrate) and

𝑓

𝑝

f

p

(fraction ofstars withplanets), have become better known through modernastronomy.

Highly SpeculativeFactors:

The parameters related to the development oflife andintelligence

𝑓

𝑙

f

l

,

𝑓

𝑖

f

i

,

𝑓

𝑐

f

c

, and

𝐿

L—arebasedon very limited data. For example,Earthis theonlyplanet we know wherelifehas developed, so we have no way to compare or derive a statistically robust estimate for thesefactors. This means that thevalues chosen for these parameters are largely subjective estimates or educated guesses.

Wide Ranges of PossibleValues:

Because many of thesefactors are not well-constrained, ifyouchangeone of themore uncertain parameters even slightly, thefinal estimate for

𝑁

N (thenumber ofcivilizations) can varyby many orders ofmagnitude. This wide range shows that the equation canlead to very differentoutcomesbasedonpersonal or theoreticalassumptions.

Heuristic, Not Predictive:

The Drake Equationwas never meant to provide a preciseanswer. Instead,it servesas a way to organize our thinking about what conditions might be necessary for the development of extraterrestrialcivilizations.It encourages discussion about the relative importance of differentfactors andhighlights where our scientific knowledgeis limited.

Is the Drake Equation Accurate orMore Opinion-Based?

Accurate?

In thesense ofbeing a strict mathematicalmodel with well-defined inputs and predictableoutputs, the Drake Equationis not accurate.Its accuracyis limitedbythe extreme uncertainties in several ofitskey parameters.

Opinion-Based?

Many of the terms in the equation, especially those concerning theevolution oflife andintelligence, arebasedon opinion, interpretation, and the single example ofEarth. Therefore, while thestructure of the equationis logical, thenumbersyou put intoit (and hence thefinal result) are oftenmore reflective of our current opinionsand assumptions than of robust empirical data.

Conclusion

The Drake Equationis a valuabletool for framing the question of extraterrestriallife.It helps scientists and enthusiastsbreak down acomplex problem into smaller,more manageable questions. However, because several ofitsfactors are highly uncertain and subject topersonal interpretation,itismore of a conceptual guide—or even a way to stimulate discussion—than a formula that provides a definitive, accurate prediction of thenumber of extraterrestrialcivilizations.

Insummary, while the Drake Equationis useful for thinking about the variousfactors that mightlead to the emergence of acivilization,itsoutputs should betakenas highly speculative estimates rather than precise measurements.




あなた:

Please also consider the possiblities of non-human intelligent emrgencing from the longhistory ofSol system and nearbyplanets and see if thereisany possiblites that inonetime intelligentlife emerged in nearbyplanets and see this to the equation

ChatGPT

Reasoned about non-humanintelligence and the Drake Equationを19 秒行う

Evaluating non-humanintelligence

I'm thinking about the potential for non-human intelligentlife forms in theSol system and neighboringplanets, and how this mightfactor into the equation.

Piecingtogether possibilities

I'm thinking about how to integrate the emergence of non-human intelligentlife, possiblyonMars orEuropa, into the Drake Equation for theSol system and neighboringplanets.

Reflectingon potential

It's interesting to think about the hypothesis of intelligentlife emergingonMars orVenus, thoughEarth remains theonly knownlife-supportingplanet in thesolar system.

Considering other realms

I'm examining if intelligentlife could have emergedonplanetslikeMars,Venus, orEuropa, and how thispossibility alignswith the predictions of the Drake Equation.

Analyzing parallelevolution

Hmm, I’m thinking about how non-human intelligentlifeonMars orVenus could intersectwith theassumptions of the Drake Equation, which seems tofocussolelyonEarth-basedevolution.

Evaluatinglife exploration

I’m piecingtogether the hypothesis of non-human, advanced, intelligentlife in thesolar system.Mars,Venus, and Titan present challenges, butEuropa and Enceladus might harbor microbiallife.

Adapting the equPermalink |記事への反応(0) | 21:12

このエントリーをはてなブックマークに追加ツイートシェア

2024-11-17

日本マスコミが伝えない

➤「救いようが最もうない、極東自称他称の〝ジャーナリスト〟や〝学者〟、〝知米派〟は読まなくても構い。読んでもその肥大化した自己承認欲求、度し難い自己愛人格では読むことはできないし、理解もできない。ただ見下した目線で見やるだけで、そこに自分が利用できる素材がなければ鼻で嗤うだけだ。この文章は、我がU.S.を領りたい、領ろうと下向きの反省眼光で欲する諸君に読んで貰いたい。

I Traveled to 46States inAmerica ThisSummer.Here’sWhyTrump Won.

By Frank S. Zhou

By Ezekiel A. Wells

Ezekiel A. Wells ’27is aDouble Concentrator in Environment Science & Engineering and Economics in EliotHouse. He spentlastsummertraveling to 46Americanstates conductinginterviews forhisYouTube series, “CrossroadsAmerica.

3days ago

A week after Democrats’ election loss, accusations have flown in every direction within their Party. Some faultPresidentJoe Biden for an egoistic refusal todropout of therace earlier. Someblame the Harris campaign for failing to servekey demographics and communicate a clearvision for the country. And someblameAmericans, claiming that racism and sexism drove voters towardTrump.

These factors certainly exist, but we’remissing a largerpiece of the picture.

Over thesummer, I traveled to 46states in the U.S., creating aYouTube series highlighting slices oflife across the country. In conversations from my nearly three-monthroad trip, I spoke with Republicanswho were certain that inflationis entirely Biden’s fault and Democratswho, despite their frustrations with corporate profits and desires foruniversal healthcare, hoped for amore moderate candidate. From supporters ofall candidates, I heard a shockingamount of misinformation.

After combing through hundreds of hours ofinterview footage fromswingstateTrump voters, Iam certain that,as muchas other factors influenced theoutcome of the election, our crumbling media landscape — whichhas caused arift in our democracy —ismost toblame.

In the postwar period,newswas dominatedby threemain channels, and because ofthe FairnessDoctrine, eachstation reported the same stories and covered multiple sides of eachissue.Viewers picked which channels they watchedmainly basedon their preferences fornewsanchors’ personalities. Of course, thismodel hadits problems, but,at the end of the day,it meant thatAmericans worked with a sharedset of facts.

A sharedset of factsis notthe world welive intoday.

Throughout myinterviews, conspiracy theories were rampant, andonat leastfive separate occasions across separatestates, Iwas told that Bill Gates tampers with ourfood, adding plastic to our fruits and vegetables tomakehis medical investmentsmore profitable.

In conversations with voters, neither side seemed able tonamemany specific policyissues they cared about; everyone just seemed to repeat the words of theirfavorite pundits,podcast hosts, andinternet personalities.

Although this behavioris harmful, Idon’tblame everydayAmericans.Blame fallson the media thathas ostracized, disillusioned, and misinformed them.

Advertisement

I firstsaw this trend withlow-wage workers in West Virginia,who — despitefalling inflationrates — have seen stagnated salaries and clear increases infood costs. ChannelslikeFoxNews bred anger and resentment formany of them.

TakeJuly of thissummer, for example, when for the firsttime inhis presidency, prices actually fell under the Biden administration. Traditional media establishments rushed tocelebrate thisvictory, withone article fromCNN declaring, “The White House can finallycrossout ‘inflationonits list ofpresidential liabilities.” However,outside these bubbles, I observedmanyAmericans held a differentview.

In lateJuly, Iwas welcomedat a massive familyreunion in Tylertown, Mississippi, whereoneTrump voter — a middle-aged, Black, familyman, pastor, andsoulfood enthusiast —made this clear.

“When Igo in the grocery stores, and Igotta spend mylast toget groceries,you mean totell me I’m notgonnalook and seewho’sgonna vote to help me? I voted forTrump and I’d vote forhimagain, because he put money in ourpocket,” he told me.

In their coverage,mainstreamnews organizations obsessover the Federal Reserve’snextrate cuts while failing toconnect with people concernedwith theirnext meals.With titleslike “Vance:YoungAmericans ‘Are Becoming Paupers’ Due To Inflation, High Housing Costs,” siteslike The DailyWire had their fingerson the pulse ofAmerican sentiment, welcoming new readership from thosewhofelt neglectedby traditional media.

This problemwas not just confined to the economy. While Biden’s mentalstatewas deteriorating,liberal mediaoutlets seemed to under-cover these stories, shelteringhim from scrutiny ofhis declining capabilities, until theinfamouspresidential debate.

Formerly trusted networksslowlymade themselves indigestible to the polarizedAmerican public, and in 2024, for the third year in a row, a Gallup pollfound thatmoreAmericans indicated having “no trust” in the media than thosewho trustit a “great deal/fairamount”.

So wheredoes the averageAmerican turn when thenation’s media cannot be trusted? Formany people,itwasYouTubetalk shows,Newsmax, andpodcasters suchasJoe Rogan.

While Democrats seek toblame various internal factors for this election’s loss, I cannot help but think ofJoe Rogan’sTrump endorsement, themany blind lies I heard from ordinary citizens across the country, and declining trust inAmerican journalism.

AsHarvard students and members of highereducation institutions, we have a part to play in the problem.AtHarvard’s Institute ofPolitics, thosewho denied the 2020 election results have been precluded from speakingat theJFKJr. Forum. While thegoalis understandable,it shields students from understanding theAmericanviewpoints they represent.

Advertisement

Thereis adifferencebetween platforming intentional andmanipulative misinformation and listening to and learning about where people are and what theybelieve.

As a pipeline tomainstream media,Harvard, andits future journalists, have to consider the audience they lose when theystay inside of their bubble and ignore theissues of everydayAmericans.

The disappearance of factual importance in our worldis alarming and dangerous, but if we,asaspiring journalists, politicians, andengaged citizens, want to betaken seriously in communicatingTrump’s threat to democracy, inflationary tariff policies, and soon, we oweAmerican voters that seriousness, too.

Ezekiel A. Wells ’27is aDouble Concentrator in Environment Science & Engineering and Economics in EliotHouse. He spentlastsummertraveling to 46Americanstates conductinginterviews forhisYouTube series, “CrossroadsAmerica."

Permalink |記事への反応(1) | 16:45

このエントリーをはてなブックマークに追加ツイートシェア

2024-10-15

「未婚男性の死亡年齢中央値けが異常に低い件」は間違い? ちゃんと調べた その3

その2はここ https://anond.hatelabo.jp/20241014165955

 

これまでのあらすじ

・元記事男性未婚者が短命すぎる、かわいそう」

大和総研「そんなことなくない?」

・俺「調べてみたら、確かに男性未婚者と短命に相関はあるっぽい」

 離別者も短命になるっぽい、女性も未婚者・離別者は短命気味だけど、男性が顕著

 相関はしてるが因果関係はまだ謎

_______

 

未婚だから短命?貧乏から短命?

気づいたんだけど、以下の事実があるよね

男性は、年収が低いほど未婚者が多い傾向にある(女性はあまり傾向がない)」

で、たぶんこれも合ってるよね

年収が低いほど短命である

 

じゃあ、「貧乏男性である→短命」の疑似相関として「未婚男性→短命」なのでは?という仮説を思いついたので調べた

ただこの件、めんどくさいことに「お年寄り貧乏かどうか」に端的な指標がない(若いなら年収でいいけど)

なので厳密には調べようがなかった

あくまで「傾向がある」の積み重ねで仮説の可能性を上げるくらい

 

貧乏なほど短命である」について調べる

ちゃんとしたデータアメリカのものしか無かった、アメリカデータ日本にどれだけ適用できるかは謎だね

 

収入格差」が健康に悪いのか?それとも「貧困」が悪いのか?

https://healthpolicyhealthecon.com/2016/10/14/income-inequality-vs-poverty/

 

この研究の結果、収入が少ない人の寿命は短く、収入が多い人の寿命は長いということが明らかになりました。収入上位1%の人は下位1%の人と比べると、男性では約15年も、女性では約10年も、収入が高い人の方が寿命が長いことが分かりました(図1)

ここでも男性の方が大きな差が出ているが、これは世帯収入源が男性が多かったからだろう

 

一応大和総研のまとめもある

人々の所得雇用から見る健康格差2017年

https://www.dir.co.jp/report/research/introduction/economics/disparity/20170217_011733.pdf

・当然だが世帯収入が高いほどかける保健医サービス金額は上がる

特に男性で、収入が低い人は健康診断の未受験者が多い(おそらく雇用形態の差)

収入が低い人は医療負担を恐れて病院いかないケースがある

年収が低いほど肥満率が高い

保険加入者は年収による差があまりなかった

 

当然と言えば当然だが、収入が低いほど健康積極的ではなくなるので、相関があるのは明らかだと思われる

ただ、「医療費が高すぎて払えない」みたいなのは日本では少なそうだった(1割負担なので医療費が激安なので)

なので「それだけで未婚/既婚で13年もの寿命差がでるのか?」は疑問でもある

 

参考:死亡前1年間にかかった医療費と介護費の総額は?85歳以上で死亡した人が最も安かった

https://www.tmghig.jp/research/release/2020/0318.html

 

なお、いちおう「低年収男性ほど未婚率が高い」の図

内閣府 第2-2-6図 男女別にみた年収区分別の未婚率

https://www5.cao.go.jp/j-j/wp/wp-je23/h06_hz020206.html

アメリカでも同様に、既婚男性/未婚男性収入差が大きい(女性はほぼ同じ)

https://www.stlouisfed.org/on-the-economy/2020/september/taking-closer-look-marital-status-earnings-gap

 

アメリカでも同じ事象が起こっていた

海外研究も調べてみた(調べたのはChatGPT先生

さすがアメリカいくらでもある、しか1998年からある

https://www.rand.org/pubs/research_briefs/RB5018.html

読むと分かるが、「未婚男性は短命(?)」はアメリカでも同様らしい(未婚女性はそうでもないというのも同様)

そして皆が想像するような理由を並べているが、根本的原因は複雑なので不明としている(1998年であることに注意)

 

ChatGPTにこれもおすすめされたけど、ちょっと違う気がする、これは年次経過観察

https://www.cdc.gov/nchs/data/hestat/mortality/mortality_marital_status_10_17.htm

ただこれに載ってる以下が気になる、今夜にでも読んでみる(公開されてたら)

Robards J, Evandrou M, Falkingham J, Vlachantoni A. Marital status, health and mortality. Maturitas 73(4):295–9. 2012.

RendallMS, WedenMM, FavreaultMM, Waldron H. The protective effect ofmarriage for survival: Areview and update. Demography 48(2):481–506. 2011.

 

これも面白い、今回と同じような議論がもう15年以上前アメリカで起きている

Single vs. Married —Who Really Lives Longer?

https://www.unmarried.org/single-vs-married-who-really-lives-longer/

 

独身の皆さん、ご注意ください。独身のままでいると死んでしまます!」2006 年 9 月号の Journal of Epidemiology and Community Healthに掲載された研究に基づくこの「発見」は、国中の見出しで大々的に取り上げられました。

...

最近長寿研究は、19歳以上のアメリカ人のサンプルのうち、1989年から1997年の間に死亡する可能性が最も高かったのは誰かという疑問に答えていますメディア報道では、既婚者と比較すると、離婚した人は死亡する可能性が27%高く、未亡人は39%高く、ずっと独身だった人は58%高いと報じられています。これらは、未婚者の種類によって意味のある違いがあるように思えますが、実際はそうではありません。

疫学ジャーナル記事では、その違いは統計的有意ではないと認めています

 

やっぱりというか、「病気な人が未婚のままで居たため」というような因果関係の逆転で疑似相関を排除できない的な話

んで色んな研究があったけどいまいち分からんみたいな結論

 

では、これまでのところ、この研究で実際にわかたことは次の通りです。8年間の期間において、離婚した、配偶者に先立たれた、あるいはずっと独身だったアメリカ人の死亡率に有意な差はありませんでした。

 

あれ、このテーマってひょっとして沼では?

もうこれ↓だけでよくね?知らんけど

 

貧乏だと死にやすいかも?知らんけど

独身だと死にやすいかも?知らんけど

・独居だと死にやすいかも?知らんけど

健康診断ちゃんと受けろ、健康に気を使え

 

健康診断ちゃんと受けなきゃな

 

____

 

この研究どっか頑張ってやってほしいね

金なのか、パートナーなのか、子なのか、寂しいのか、生活習慣なのか、発見の早さなのか、健康への気遣いなのか、その全部か

 

でもまあ30年後くらいにハッキリしそうでもあるけどね、選択的未婚者がかなり増えるし、経済的理由なら女性にも差が出てくるはずだから

いやその前に自分死ぬかw

 

____

 

追記

所得資産寿命の相関データ見つからないんだよね、誰か探して

一応人口動態にはないっぽい

都道府県ごとに調べることで収入格差との相関を調べてる人は居るっぽい

国立がん研究センターでは、教育歴と死亡率の相関を調べてるっぽい

 

あと所得が低い→健康リテラシーが低い という可能性は俺も考えた

 

てか疾病関係統計論文さ、読んでると頭痛くなってくるよね、医者ってすげーわ

Permalink |記事への反応(8) | 13:01

このエントリーをはてなブックマークに追加ツイートシェア

2023-11-19

anond:20231119000706

例えば、以下のような例文あった場合、waneがわかってなくても前者は何となく推論できるけど、後者はwaneの意味が分かる場合とそうでない場合はかなり差があるんだよね。

Her enthusiasm forthe wholeideawas waning rapidly.

They are determined to squeeze thelast ounceout of their waningpowerand are frightened to face the people toget a new mandate.

Permalink |記事への反応(1) | 00:22

このエントリーをはてなブックマークに追加ツイートシェア

2023-09-19

anond:20230919113228

横じゃが、こんな感じでいいんかね?ChatGPTじゃなくてBing先生だが同じ事やろ

わいの問:

今週の水曜日の日付を出力するJavaコードを教えてください。

Bing先生の答え:(色々細かい解説をしてくれたが省略)

importjava.time.LocalDate;importjava.time.DayOfWeek;importjava.time.format.DateTimeFormatter;public classMain {  public staticvoidmain(String[] args) {    //現在の日付を取得    LocalDatetoday = LocalDate.now();    // 今週の水曜日の日付を取得    LocalDate wednesday =today.with(DayOfWeek.WEDNESDAY);    // 日付をフォーマットして出力    DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy年MMdd日");    System.out.println(wednesday.format(formatter));  }}

(動かしてはないけど、まあパッと見でおかしい所は無さそうやし、動くやろ。。。)

Permalink |記事への反応(1) | 11:50

このエントリーをはてなブックマークに追加ツイートシェア

anond:20230919114042

もうこのやりとりの時点でダメやん?

ダメじゃねえよ。要件を正確に記述できないならコードなんて書けるわけない。

空気読んでいい感じに読み取ってよというのを求めてるなら、仕様書すら書けないダメプログラマーってことだろ。

コンピューターの中では数字で日付は管理されててそれはJavaでは日付のオブジェクトとして表されるんだけど、「今週=現在の週の水曜日」を表すオブジェクトが欲しい

やったぞ

Javaの日付オブジェクトとして「今週の水曜日」を表すオブジェクトを返す関数を示してください。

java.timeパッケージの LocalDateクラスや TemporalAdjustersクラス使用して、「今週の水曜日」の日付オブジェクトを取得できます

以下のコードは、現在の日付に基づいて今週の水曜日の LocalDateオブジェクトを返すJava関数です。

importjava.time.DayOfWeek;

importjava.time.LocalDate;

importjava.time.temporal.TemporalAdjusters;

public classMain {

public staticvoidmain(String[] args) {

System.out.println(getThisWeeksWednesday());

}

public static LocalDate getThisWeeksWednesday() {

LocalDatetoday = LocalDate.now();

returntoday.with(TemporalAdjusters.nextOrSame(DayOfWeek.WEDNESDAY));

}

}

この関数現在の日付を取得し、それを TemporalAdjusters.nextOrSame(DayOfWeek.WEDNESDAY)メソッドに渡して、今週の水曜日の日付を取得します。今日水曜日である場合、それが返されます。それ以外の場合は、次の水曜日の日付が返されます

今日が週内のどの日であったとしても(木曜日金曜日であったとしても)その週の水曜日を表すオブジェクトを返す関数を示してください。

それには、今週の最初の日を求め、そこから水曜日までの日数を加算するアプローチ使用します。以下のコードでは、週の最初の日を月曜日仮定しています

importjava.time.DayOfWeek;

importjava.time.LocalDate;

importjava.time.temporal.TemporalAdjusters;

public classMain {

public staticvoidmain(String[] args) {

System.out.println(getThisWeeksWednesday());

}

public static LocalDate getThisWeeksWednesday() {

LocalDatetoday = LocalDate.now();

LocalDatemonday =today.with(TemporalAdjusters.previousOrSame(DayOfWeek.MONDAY));

returnmonday.plusDays(2);

}

}

このコードは、まず今日の日付を取得し、それから TemporalAdjusters.previousOrSame(DayOfWeek.MONDAY)メソッド使用して今週の月曜日の日付を取得します。そして、月曜日から2日後の日付(水曜日)を取得するために plusDays(2)メソッド使用します。

Permalink |記事への反応(3) | 11:50

このエントリーをはてなブックマークに追加ツイートシェア

2023-02-15

anond:20230214105828

ChatGPTさんも、そんな考えは時代遅れやって言うてはるぞ。

Sure, I'd behappy to discuss thatwith you! The question ofwho should payon a firstdateis acommonone and there's noone-size-fits-allanswer.It really dependson the situation and the preferences of the people involved.

Traditionally,itwas often expected that theman would pay for the firstdate. However, in moderntimes,many people prefer to split the bill ortake turns paying fordates. Some peoplemayfeel strongly about payingon a firstdateas a way to show their interest or to demonstrate their ability to provide for their partner, while othersmayfeel that splitting the bill or taking turns payingismore fair and equitable.

Ultimately, the decision ofwho should payon a firstdate should be basedon what both people are comfortable with.It's a goodidea to discussit ahead oftime so that there are no surprises or awkwardmomentsat the end of thedate.Communicationiskey inany relationship, soit's important to beopen and honest about your preferences andexpectations.

Permalink |記事への反応(1) | 12:50

このエントリーをはてなブックマークに追加ツイートシェア

2022-12-04

Chat.OpenAIゲキヤバ。まじでちょっとした処理はググる必要なくなった

俺:

javascript言語で、現在時刻のタイムスタンプからMD5ハッシュ値を出力する関数、timeToMd5 を作ってください

JavaScriptでは、次のような関数作成することができます

function timeToMd5() {  //現在時刻のタイムスタンプを取得しまconst timestamp =Date.now();  //ハッシュ値を出力するために、MD5ライブラリロードしまconstmd5 =require('md5');  // timestampを文字列に変換し、それをMD5ハッシュ値に変換して出力しまconst hash =md5(timestamp.toString());  return hash;}

このような関数作成することで、現在時刻のタイムスタンプからMD5ハッシュ値を出力することができます

ご参考までに。

俺:

nodeコマンドで実行しましたが、"Error: Cannot findmodule 'md5'" というエラーになってしまいました。なにか解決方法がありますか?

質問のように、JavaScript定義した関数を実行すると、"Error: Cannot findmodule 'md5'" というエラーが発生しているようです。

このエラーが発生する原因は、JavaScriptコード内で、MD5ライブラリロードしようとしたときに、そのライブラリインストールされていないためです。

JavaScriptコードで、MD5ライブラリを利用するには、まず、そのライブラリインストールする必要があります

インストールするには、次のように、nodeコマンドを実行します。

$ npm installmd5

このコマンドを実行することで、MD5ライブラリインストールされ、JavaScriptコードから利用することができるようになります

また、JavaScriptコードを実行するには、次のようにnodeコマンド使用します。

$ node [JavaScriptファイル名]

このようにすることで、JavaScriptコードを実行することができます

ご参考までに。

俺:

ありがとうございます。実行できました😁

おめでとうございます!ご質問いただいた内容について、正しく解決されたようで嬉しいです。

しまだご質問があるようでしたら、お気軽にお問い合わせください。今後とも、Assistantをご利用いただけますよう、よろしくお願いいたします。

Permalink |記事への反応(1) | 01:31

このエントリーをはてなブックマークに追加ツイートシェア

2021-01-11

anond:20210111172953

草生える

Four years after theFukushimaaccident,TC screening data from the first and second round (up toDecember 2014) were comparedwith theJapanese nationwide annualTC incidence, andwith the incidence inonearea ofFukushimaprefecture selectedas reference (Tsudaet al., 2016). The authors reported that the observednumber ofTCswas substantially higher thanthe expectednumber basedonnational and regional incidence data, and concluded that this increase could beattributed to ionizing radiation exposure from theaccident. This ecological studyhas been strongly criticizedby scientistsaround the world because of serious methodology limitations; further, the study conclusions are not supportedby the results (Davis, 2016, Jorgensen, 2016, Korblein, 2016, Shibata, 2016,Suzuki, 2016, Takahashiet al., 2016, Takamura, 2016, Wakefordet al., 2016). Limitations of ecological study design are well-known, although the authorsdid not acknowledge theissue of ecologic fallacy.Another criticismwas that the data from theFukushima screening program are not directly comparablewith thecancer registry data from therest ofJapan where systematic advanced ultrasound technologyis not used to detect cases. The authors of these criticisms suggested that though the increasedTCnumber could beassociatedwith the exposure from radioactivefallout, amore plausible conclusion would be that the screening programis finding an anticipated increase inTC detection across theFukushimaprefecture.Indeed,Tsuda and colleaguesdid not consider the latent properties ofTC,northe fact that a prevalentcancer detectedby screening might have had first preclinical manifestations of abnormality before the nuclearaccident.Thereafter, several researchers have analysed the relationshipbetween radiation exposure (with different estimated exposure levels, mostly using an external dose) andTC prevalence and incidence in residents aged ≤18 years in theFukushimaprefectureattime of the disaster (Kato, 2019, Nakayaet al., 2018, Ohiraet al., 2019a, Ohiraet al., 2020, Ohiraet al., 2019b, Ohiraet al., 2016, Ohiraet al., 2018,Suzukiet al., 2016, Tokiet al., 2020, Yamamotoet al., 2019), but no radiation-related risks have been demonstrated todate.

https://www.sciencedirect.com/science/article/pii/S0160412020321851

ちなみにこの分野の雑誌にはあまり詳しくないけど、IF3.5で最高峰なの?

ちなみに自分引用した雑誌は7.9だった。

Permalink |記事への反応(1) | 22:03

このエントリーをはてなブックマークに追加ツイートシェア

2019-06-22

れい新選組立憲民主党 どちらが正しいか (自民党とどちらが正しいか追記しました)

参議院議員選挙が近づき、れい新選組山本太郎議員がした減税のためなら安倍内閣とも組むとの発言が支持者の間で炎上する一方、立憲民主党経済政策を発表するなど、経済ニュースになった1週間でした。山本太郎議員は「2%を目指して物価を上げる」を公約にし、立憲民主党は「上げるべきは物価ではない、賃金だ」を公約にしています。どちらが正しいのでしょうか?

おまんじゅうが10,000個の経済があったします。1コ100円ならGDPは1,000,000円です。

これが翌年90円に値下がりしたとします。数量が同じであればGDPは900,000円です。物価全体が下がることを「デフレ」といいます

名目成長率」はマイナス10%ですが、これは物価10%下落したからで、それを差し引いて考えた「実質成長率」は0%で、名目成長率<実質成長率となりました。

ところでおまんじゅうの値段が下がれば、同じお金おまんじゅうが余分に買えるようになったのだから、とてもよいことのように思います。でも、来年物価が下がるとしたら、企業は人を雇うでしょうか。お金を金庫にしまっておけば同じお金でも来年価値があがって余分に物が買えるようになるのだから、人なんて雇いませんよね。借金して投資するなんてトンデモない。返済の負担が重くなるのですから投資が落ち込み、雇われる人が少なくなります。雇われる人が少なく、お給料の総額が減れば物を買う人が少なくなり、次の年はさらに消費も落ち込みますさらに物の値段が下がるのだからますますお金は使われなくなります。こうして物価の下落と経済の縮小がらせん階段を下っていくように進むありさまを「デフレスパイラル」といいます企業の「内部留保」が増えているのはデフレからです。

民主党政権時代物価はほぼ全期間下がり続け、名目成長率は常に実質成長率を下回っていました。だから民主党政権時代は、現金を持っている人、安定した職がある人は「物が安くなった」と幸せでも、不安定な職しかつけなかった人、これから職に就こうとする人にとっては最悪で-デフレになれば売上も下がります仕入れも下がります。ただ同じように下がらないものがあります。それは「借金」と「賃金」です。借金物価が下がっても減りませんし、正社員賃金には下方硬直性があります。それゆえデフレ化で企業にとって借金と並んで一番負担に感じられるのは賃金です。だからデフレになると新卒採用不安定就労層の雇用が一番打撃を受けるのです。-安月給で長時間労働を強いるブラック企業が全盛でした。

物価が上がればどうでしょうか?お金を持ったままだと来年価値が減ってしまますから、人を雇ってより儲けなければなりません。だから企業はより人を雇うようになります

デフレ放置した民主党政権下で雇用ヘロヘロだったのも、2014年に成長率の名実逆転を解消し(17年ぶり)、2017年需給ギャップを解消した(9年ぶり)安倍政権下で雇用が劇的に改善したのも、経済学的にはまったく理に適っています(なお、先日朝日新聞に"年収200万円未満が75% 非正規リアル政治は"という記事がありましたが、この記事アベノミクスによっても雇用に成果がでていないというのであれば明確に誤りです。また雇用環境改善したのは少子高齢化や団世代の大量退職のせいだという人がいますが、それも誤りです。この記事はその点を説明するためのものではないので、詳しくは論じませんが、失業率の分母は生産年齢人口ではなくて労働力人口で、労働力人口民主党政権化では増えておらず、安倍政権下では増え続けているとだけ指摘しておきます。)。

党首討論で、枝野議員は、「経済数字の最終成績はどこなのかと言ったら、やはり実質経済成長率2010年から12年の実質経済成長率は1.8%。2013年から18年は1.1%。これが客観的経済トータルの総合成績であることは、自信をもって申し上げたい。」と発言し、安倍首相に「実質成長の自慢をなされたが、名実逆転をしている実質成長の伸びは、デフレ自慢にしかならない。」と諭されていましたが、まさにそのとおりです。立憲民主党物価を上げずに賃金をあげて雇用も増やすとしていますが、それは卵を割らずにオムレツを作りますといってるのと同じです。

では、上がった方がいいとして、毎年10%も20%も上がるのがよろしくないのは当然として、なぜ2%なのでしょうか?

理由は3つです。まず、それが経済成長にとって最適というのが現時点のコンセンサスからであり、為替レートの安定のためであり、デフレに陥らないためです。

世界各国の中央銀行インフレ目標は2%です。

FRBは「年2%」が物価の安定と雇用の最大化という2つのマンデートを達成するには最適としています

"TheFOMC noted initsstatement that the Committee judges that inflationat therate of 2percent (as measuredby the annualchange in the priceindex forpersonal consumption expenditures, or PCE)ismost consistentover the longerrunwith the Federal Reserve's statutory mandate."

https://www.federalreserve.gov/faqs/money_12848.htm

ECB欧州中央銀行)は中期的に「2%を超えない、但しそこに近いところ」を目指しています

"The primary objective of theECB’s monetary policyis to maintain price stability. TheECBaimsat inflationrates of below, but close to, 2%over themedium term."

https://www.ecb.europa.eu/mopo/html/index.en.html

イングランド銀行イギリス中央銀行)もすべての人の将来の計画を立てるのに資するとして「2%」をターゲットにしています

"To keep inflationlow and stable, the Government sets us an inflation target of 2%. This helps everyone plan forthe future."

https://www.bankofengland.co.uk/monetary-policy/inflation

オーストラリア準備銀行オーストラリア中央銀行)も「2~3%」のインフレ率を目指しています

"The Governor and the Treasurer have agreed that the appropriate target for monetary policy inAustraliais to achieve an inflationrate of 2–3per cent,on average,over time. Thisis arate of inflation sufficientlylow thatitdoes not materially distort economic decisions in the community. "

https://www.rba.gov.au/inflation/inflation-target.html

世界の中銀が2%にしているのはそれが経済成長と物価の安定のためには最適というのがコンセンサスからですが(1つめ)、そのなかで日本けがそれより低い目標を掲げるということは、ちょっと物価が上がると他国に先駆けて引き締めますと事前にアナウンスしているのと同じことになりますから、事あるごとに円高が進んでしまます(2つめ)。

3つめの理由は、いったんデフレに落ち込むとなかなか抜け出せないからです。日本経営者アベノミクスデフレが解消しても内部留保を取り崩すことには慎重なままです。経営者マクロ経済学理解しているわけではないので、この20年間合理的だった経営=金をできるだけ使わない=が行動原理として染みついてしまっています。そして高齢化が進行し、低成長が常態になって、常にデフレ圧力がかかっている環境で、インフレ目標をたとえば1%などに設定して、低い物価上昇率をもって金融緩和を止めてしまうと、すぐにデフレに陥ってしまうのです。その失敗を日本2000年と2006年に経験済みで、最近だと昨年末ECBが同じミスを犯しました。

麻生財務大臣から財界幹部朝日新聞まで、ことあるごとに「2%なんて無理なんだからさっさとその目標放棄せよ」と提言していますが、彼らより山本議員の方が正確に経済理解しています

物価が上がった方がいいというのは、私たち生活で感じる直感とは異なります。私も物の値段は下がった方がうれしいです。但し、直感にしたがった行動が、悪い結果をもたらすことはしばしばあります法学経済学、社会学、それを知ることに学問価値があるのだと思います

追記

dc42jk現在経済状況から金融緩和財政拡張政策の両方が必要だと思う。その両方を掲げているのはれいしかない。自民金融政策に触れてないし立民は金融引締めを示唆している。

まさに。賃金の上昇はどうしても物価の上昇に遅れますし、デフレ脳に染まった経営者を変えるのは簡単ではないので、デフレ脱却の過程ではどうしても、特に安定した雇用を得ていた層の実質賃金が低下します(新たに職を得た人が増えたので、総雇用所得は増えてはいますが)。それを補うために積極的財政支出が求められるのですが、1年目を除き高齢化に伴う社会保障費増以外の財政支出の拡大を渋ったのが安部政権の最大の問題点です。現在国債新規発行のたびに0.1%程度しかクーポンがつかないのにその4倍も5倍も札が入り(落札利回りはマイナス)、政府債務調達はただ同然、これはデフレ現象のものである民間部門の過剰貯蓄、特に企業ISバランスのI<S化と表裏一体です。ご指摘のとおり金融緩和とあわせて財政拡張をしない手はないのに、その両方を掲げているのは国債を財源に、奨学金をチャラにして、最低賃金1500円を政府補償し、公務員を増やし、公共事業積極的に行いますとしているれい新撰組だけです。

(ご参考)

日本財政政策選択肢オリヴィエブランシャール・田代毅(2019年5月

https://piie.com/system/files/documents/pb19-7japanese.pdf

「景気の回復が感じられないのはなぜかー長期停滞論争」ローレンス・サマーズ、ベン・バーナンキポール・クルーグマン、アルヴィン・ハンセン山形浩生翻訳)(2019年4月

https://www.amazon.co.jp/%E6%99%AF%E6%B0%97%E3%81%AE%E5%9B%9E%E5%BE%A9%E3%81%8C%E6%84%9F%E3%81%98%E3%82%89%E3%82%8C%E3%81%AA%E3%81%84%E3%81%AE%E3%81%AF%E3%81%AA%E3%81%9C%E3%81%8B%E3%83%BC%E9%95%B7%E6%9C%9F%E5%81%9C%E6%BB%9E%E8%AB%96%E4%BA%89-%E3%83%AD%E3%83%BC%E3%83%AC%E3%83%B3%E3%82%B9%E3%83%BB%E3%82%B5%E3%83%9E%E3%83%BC%E3%82%BA/dp/4790717313

"Macroeconomics"(12th Edition) " Robert J Gordon2013年

https://www.amazon.com/Macroeconomics-12th-Pearson-Economics-Hardcover/dp/0138014914

(未翻訳ですがアメリカ代表的マクロ経済学教科書です。IS-LM分析の箇所で日本に対する処方箋が取り上げられています。"combined monetary-fiscal policy expansion""TheIS and LMcurvesshift rightwardtogether"れいわの政策はそれに合致しています。)

追記2)

左派リベラルはほんとうに山本太郎に乗ってほしい。今まで何か提言する度に、財源はどうするんだ、そんなことして景気はだいじょうぶなのかと突っ込まれ、やれ法人税増税だ、富裕層増税だ、行政改革埋蔵金だと、見当外れなことを言うだけで(法人税は支払うのは企業ですが負担するのは庶民です。富裕層増税格差縮小の意味はあっても財源にはなりません。埋蔵金なんて結局みつからなかったし、公務員減らせば貧しくなるだけです)、結局有効提案を何ひとつできませんでした。何を言っても信用されないのはそのせいです。

そこに、自民党と異なる価値観を唱えながら、景気はむしろ良くします、財源はありますという政治家が現れました。しかブランシャールやサマーズ、ゴードンのような権威ある学者提案と軌を一にしている。これに乗らない手はないでしょ?

追記3)

立憲民主党は「アベノミクスによって事実上財政ファイナンス化した弛緩した金融政策について、市場と丁寧に対話しつつ、正常化を図っていく。」要するに、日銀による長期国債の買い入れ=量的緩和財政ファイナンスであり、やめますとしています。そのうえで消費税増税凍結を訴えています国債発行も減らして消費税増税分の2兆円もあきらめる、足りない分は金融所得法人税課税するというのだから、その二つの税金は大幅にアップするということになります金融所得に対する課税強化はリスクプレミアムを高めるので、日銀による買入れ縮小と同じく金融引き締め効果があります。すべての経済学の教科書に書いてあるとおり、法人税を支払うのは企業ですが、負担するのは庶民です。

彼らの政策を実現したらどうなるか。FRBが利下げを示唆し、ECB量的緩和への復帰を口にしているなか、日本だけ量的緩和をやめますリスクプレミアムを高めます金融は大幅に引き締めますというのだから円高が急速に進みます物価上昇率は下落し、またデフレに戻るでしょう。企業業績は悪化し、円高特に製造業が打撃を受け、そこに増税が追い打ちをかける。雇用シュリンクし、製造業海外移転拍車をかける特に地方高学歴でない層の雇用やこれから就職する人たちの雇用環境が大幅に悪くなります民主党政権のころの方が実質成長率が高かったから良かったと今でも主張する人たちなので当然なのかも知れませんが、彼らは要するに民主党政権当時に戻します、と言っています。同じく消費税増税に反対していても、デフレが最大の問題だとするれい新選組(「新撰組」じゃなくて「新選組」でした。ややこしいのは良くないと思いますが…)とは方向性がまったく違います

Permalink |記事への反応(24) | 20:45

このエントリーをはてなブックマークに追加ツイートシェア

2018-11-19

VBSで先週の月曜~日曜の日付を出したい

今日実行したとしたら

「181112」「181118」という2つの値を取得したい。

this_day =Date.today

this_monday = this_day - (this_day.wday - 1) # 今週の月曜日

last_monday = (this_day - (this_day.wday - 1)) - 7 # 先週の月曜日

うーん。今週の月曜日の値を-1すりゃいいのか?

でも、値が「Wed, 05Dec 2012」のように出るらしい。うーん。

Permalink |記事への反応(1) | 14:56

このエントリーをはてなブックマークに追加ツイートシェア

2018-08-30

anond:20180830215625

お前か!

Printdelete.

Empty anerror happen update.

かい意味不明コミットログを残してる奴は!

Permalink |記事への反応(0) | 22:07

このエントリーをはてなブックマークに追加ツイートシェア

2017-11-06

重要かも】Google NewsRSSURL変更

この記事Googleの変更について書いています

RSSを使っている人のみ重要かも。

昨日、RSS受信ツールGoogleニュース

特定文字列検索した結果のRSSを見ると

以下の表示がありました。

---------------------------------------------

Google NewsRSS feedURL deprecation

ThisRSS feedURLis deprecated, please update. NewURLs can be found in the footersathttps://news.google.com/news

Google先生翻訳結果だと以下です。

GoogleニュースRSSフィードURL廃止予定

このRSSフィードURLは推奨されていません。更新してください。 新しいURLhttps://news.google.com/newsのフッターにあります

---------------------------------------------

しかGoogle ニュースの下部を見てもそんな情報

どこにも載っていません。

そこで更にググって以下の英文記事発見

Google News to deprecate oldRSS feedURLsonDecember 1,2017

https://searchengineland.com/google-news-deprecate-old-rss-feed-urls-december-1-2017-286149

---------------------------------------------

Google先生翻訳結果要旨】

Googleニュースは、2017年12月1日までに古いRSSフィードの購読URLを非推奨にする予定

・UTLを更新するには、news.google.comにアクセスして、必要なセクションを選択するか、カスタムセクションを作成する。

・セクションのページの下部にある[RSS]をクリックします。 これにより、フィードが表示されます

---------------------------------------------

どうも2017年12月1日までに対応必要らしい。

しかカスタムセクションを作っても下部に

[RSS]は表示されません。

もしかしてと思いGoogleニュース言語設定を

英語に変えてカスタムセクションに登録すると

セクションの下部に[RSS]が表示されました。

---------------------------------------------

ちなみ現在URL(非推奨)はこんな感じ

検索文字列は「androidタブレット

https://news.google.com/news/feeds?hl=ja&ned=us&ie=UTF-8&oe=UTF-8&output=rss&q=android%20%E3%82%BF%E3%83%96%E3%83%AC%E3%83%83%E3%83%88

言語設定を英語にしてカスタムセクションつくって

[RSS]をクリックすると以下。

https://news.google.com/news/rss/headlines/section/q/android%20%E3%82%BF%E3%83%96%E3%83%AC%E3%83%83%E3%83%88/android%20%E3%82%BF%E3%83%96%E3%83%AC%E3%83%83%E3%83%88?ned=us&hl=en&gl=US

情報としては以上になります

---------------------------------------------

あとは強引な実験です。

あくま実験結果なので間違っている可能性もあります

URLを直接強引に言語日本語に変えても使えました

https://news.google.com/news/rss/headlines/section/q/android%20%E3%82%BF%E3%83%96%E3%83%AC%E3%83%83%E3%83%88/android%20%E3%82%BF%E3%83%96%E3%83%AC%E3%83%83%E3%83%88?ned=jp&hl=ja&gl=JP

さらURLを直接「androidタブレット」を「ノートパソコン」に

強引に変えても動きました。

https://news.google.com/news/rss/headlines/section/q/%E3%83%8E%E3%83%BC%E3%83%88%E3%83%91%E3%82%BD%E3%82%B3%E3%83%B3/%E3%83%8E%E3%83%BC%E3%83%88%E3%83%91%E3%82%BD%E3%82%B3%E3%83%B3?ned=jp&hl=ja&gl=JP

どうも以下のような感じみたいです。

news.google.com/news/rss/headlines/section/q/(検索文字列)/(カテゴリー名)?ned=jp&hl=ja&gl=JP

これでいけるならイチイチ、カスタムセクション作らないで

いけるのでいいかなと思います

Permalink |記事への反応(0) | 10:15

このエントリーをはてなブックマークに追加ツイートシェア

2016-05-23

http://anond.hatelabo.jp/20160520111512

これか?国内胡散臭い勢力が参照透明じゃないて断言してたけど海外じゃ全く温度が違うようだ

IsDate.now referentialtransparent?

http://stackoverflow.com/questions/37244023/is-date-now-referential-transparent

Permalink |記事への反応(1) | 08:01

このエントリーをはてなブックマークに追加ツイートシェア

2016-05-16

http://anond.hatelabo.jp/20160516170508

まず、原理原則として「時間」ってのは、グローバルだ。これが一点。

次に、Date.nowはともかく、__hoge.tがグローバルである必要など何もないし、

なんでそう思い込んでるの?

お絵かきアプリコードがそうだったから?

あんな単純な、マウス座標を扱うときに、マウス座標の状態変数FRPストリーム)の階層グローバルなのは当たり前だけど、

なんか変な思い込みできちゃった?w

Permalink |記事への反応(0) | 17:29

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160516170508

まず、原理原則として「時間」ってのは、グローバルだ。これが一点。

次に、Date.nowはともかく、__hoge.tがグローバルである必要など何もないし、

なんでそう思い込んでるの?

Permalink |記事への反応(1) | 17:26

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160516170508

まず、原理原則として「時間」ってのは、グローバルだ。これが一点。

次に、Date.nowはともかく、__hoge.tがグローバルである必要など何もないし、

なんでそう思い込んでるの?

Permalink |記事への反応(0) | 17:25

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160516170744

現在時刻のインデックス引数として」与える

=「プライベートで「最終更新時間」としては持つ。」

てことか?おまえ同一人物?住井と別人?

それはとにかく、ほんで?

過去の全データを蓄積するのならともかく、

アプリ現在時刻しか取り扱わないケースで、現在あるいは直近の状態を得るために

インデックス」作る意味って何?w

現在時刻を、Date.nowという、非インデックスAPIで取得して、

その非インデックスインデックス照合したい、とかそういうこと?w

Permalink |記事への反応(1) | 17:22

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160516170242

からさあw、その「何らかの状態表現したオブジェクト」ってのが、すなわち

Date.now や __foo.tだ

って話なんだが、わかってきたかい?

わかってきたかい?というか、最初からわかってて、それをグローバル変数で持つの関数型的じゃないよね、という話をしていたのだけど

Permalink |記事への反応(5) | 17:05

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160516165721

>それ以外ならカウントの代わりに何らかの状態表現したオブジェクトとかにすればいいでしょ?

からさあw、その「何らかの状態表現したオブジェクト」ってのが、すなわち

Date.now や __foo.tだ  

って話なんだが、わかってきたかい?

そういう話をしてるところに、

関数型では、インデックス指定されなければならない」とかいってる住井@東北大ぽいのが湧いてきたから、

おかしいのか?って返された、ってだけの話だけど、いかおまえらがアホなことほざいてたのかようやく理解してきた?w

Permalink |記事への反応(1) | 17:02

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160516161429

正確には、

関数型って時間パラメータで与えて結果を得るんじゃないの」とか意味不明なこといってる馬鹿がいて、

hoge.t あるいは、date.now やらで指定してたインデックスというのは、関数型プログラミング文脈からインデックスが得られるんだとさ。

初期値0からはじまる時無限再帰カウントから、どうやって時刻を得るパラメータが得られるのか、頭のおかしい奴の考えるコード想像不能。

Permalink |記事への反応(0) | 16:22

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160302090242

100%不可能机上の空論は聞き飽きたから、コードで示してみな?w

いったいどうやったら「現在時刻」を抽象化したdate.nowやらfoo.t以外で、

その「再帰無限なら現在時刻のインデックス引数として」「現在時刻のインデックス引数として」与えて、

現在時刻が得られる、お花畑みたいなコードが書けるんだよ?

馬鹿休み休みに言えよ、無能

Permalink |記事への反応(1) | 15:58

このエントリーをはてなブックマークに追加ツイートシェア

http://anond.hatelabo.jp/20160516113354

再帰無限なら無限に得られるよね

グローバル変数の一部に代入しておくような手続き的な構造にする必要ないよね

関数パラメータのみから結果を生み出すっていう参照透過な形で実現できるよね

100%不可能机上の空論は聞き飽きたから、コードで示してみな?w

いったいどうやったら「現在時刻」を抽象化したdate.nowやらfoo.t以外で、

その「現在時刻のインデックス引数として」与えて、現在時刻が得られる、お花畑みたいなコードが書けるんだよ?

馬鹿休み休みに言えよ、無能

Permalink |記事への反応(1) | 15:53

このエントリーをはてなブックマークに追加ツイートシェア

次の25件>
ログインユーザー登録
ようこそ ゲスト さん
Copyright (C) 2001-2025 hatena. All Rights Reserved.

[8]ページ先頭

©2009-2025 Movatter.jp